org.exolab.castor.builder.printing
Class StandardJClassPrinterFactory
java.lang.Object
org.exolab.castor.builder.printing.StandardJClassPrinterFactory
- All Implemented Interfaces:
- JClassPrinterFactory
public class StandardJClassPrinterFactory
- extends Object
- implements JClassPrinterFactory
JClassPrinterFactory instance that returns standard 'Writer'-based
JClassPrinter instances. This is currently the default JClassPrinterFactory
instance used for code generation, but will be replaced in the foreseeable future.
- Since:
- 1.2.1
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardJClassPrinterFactory
public StandardJClassPrinterFactory()
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.