org.exolab.castor.builder.printing
Class TemplateJClassPrinterFactory

java.lang.Object
  extended by org.exolab.castor.builder.printing.TemplateJClassPrinterFactory
All Implemented Interfaces:
JClassPrinterFactory

public class TemplateJClassPrinterFactory
extends java.lang.Object
implements JClassPrinterFactory

JClassPrinterFactory instance that returns Velocity-based JClassPrinter instances.

Since:
1.2.1

Constructor Summary
TemplateJClassPrinterFactory()
           
 
Method Summary
 JClassPrinter getJClassPrinter()
          Returns the JClassPrinter instance as identified by this JClassPrinterFactory instance.
 java.lang.String getName()
          Returns a short name for this JClassPrinterFactory instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateJClassPrinterFactory

public TemplateJClassPrinterFactory()
Method Detail

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 java.lang.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 © 2011. All Rights Reserved.