org.exolab.castor.builder.printing
Class TemplateJClassPrinterFactory
java.lang.Object
org.exolab.castor.builder.printing.TemplateJClassPrinterFactory
- All Implemented Interfaces:
- JClassPrinterFactory
public class TemplateJClassPrinterFactory
- extends Object
- implements JClassPrinterFactory
JClassPrinterFactory instance that returns Velocity-based
JClassPrinter instances.
- Since:
- 1.2.1
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateJClassPrinterFactory
public TemplateJClassPrinterFactory()
getJClassPrinter
public JClassPrinter getJClassPrinter()
- Returns the
JClassPrinter instance as identified by this JClassPrinterFactory
instance.
- Specified by:
getJClassPrinter in interface JClassPrinterFactory
- Returns:
- Returns the actual
JClassPrinter instance - See Also:
JClassPrinterFactory.getJClassPrinter()
getName
public String getName()
- Returns a short name for this
JClassPrinterFactory instance.
- Specified by:
getName in interface JClassPrinterFactory
- Returns:
- a short name (used for setting the JClassPrinter type on the
SourceGenerator. - See Also:
JClassPrinterFactory.getName()
Copyright © 2012. All Rights Reserved.