-
- All Known Implementing Classes:
FileCodeWriter
public interface CodeWriterPurpose:This interface can be implemented and used in conjunction with SDOClassGenerator to write the generated source as desired.
- See Also:
SDOClassGenerator,FileCodeWriter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwriteImpl(String dir, String filename, StringBuffer content)Called from org.eclipse.persistence.sdo.helper.SDOClassGenerator for each generated interface if a CodeWriter was passed into the generate method.voidwriteInterface(String dir, String filename, 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
-
writeInterface
void writeInterface(String dir, String filename, StringBuffer content)
Called from org.eclipse.persistence.sdo.helper.SDOClassGenerator for each generated interface if a CodeWriter was passed into the generate method.
- Parameters:
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.
-
writeImpl
void writeImpl(String dir, String filename, StringBuffer content)
Called from org.eclipse.persistence.sdo.helper.SDOClassGenerator for each generated interface if a CodeWriter was passed into the generate method.
- Parameters:
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.
-
-