|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CodeWriter
Purpose:This interface can be implemented and used in conjunction with SDOClassGenerator to write the generated source as desired.
SDOClassGenerator
,
FileCodeWriter
Method Summary | |
---|---|
void |
writeImpl(java.lang.String dir,
java.lang.String filename,
java.lang.StringBuffer content)
Called from org.eclipse.persistence.sdo.helper.SDOClassGenerator for each generated interface if a CodeWriter was passed into the generate method. |
void |
writeInterface(java.lang.String dir,
java.lang.String filename,
java.lang.StringBuffer content)
Called from org.eclipse.persistence.sdo.helper.SDOClassGenerator for each generated interface if a CodeWriter was passed into the generate method. |
Method Detail |
---|
void writeInterface(java.lang.String dir, java.lang.String filename, java.lang.StringBuffer content)
Called from org.eclipse.persistence.sdo.helper.SDOClassGenerator for each generated interface if a CodeWriter was passed into the generate method.
dir
- The directory corresponding to the package of the generated source filefilename
- The name of the generated source file including the .java extensioncontent
- StringBuffer containing the contents of the generated interface.void writeImpl(java.lang.String dir, java.lang.String filename, java.lang.StringBuffer content)
Called from org.eclipse.persistence.sdo.helper.SDOClassGenerator for each generated interface if a CodeWriter was passed into the generate method.
dir
- The directory corresponding to the package of the generated source filefilename
- The name of the generated source file including the .java extensioncontent
- StringBuffer containing the contents of the generated implementation class.
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |