Class TemplateJClassPrinter
java.lang.Object
org.exolab.castor.builder.printing.TemplateJClassPrinter
- All Implemented Interfaces:
JClassPrinter
Prints the given JClass to the filesystem using velocity templates.
- Since:
- 1.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe package that contains the velocity templates. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TEMPLATE_PACKAGE
The package that contains the velocity templates.- See Also:
-
-
Constructor Details
-
TemplateJClassPrinter
public TemplateJClassPrinter()
-
-
Method Details
-
printClass
Prints the givenJClassinstance to the given output directory.- Specified by:
printClassin interfaceJClassPrinter- Parameters:
jClass- The JClass to print.outputDir- The target directory.lineSeparator- The line separator to use.header- The standard header to print.- See Also:
-