Class StandardJClassPrinterFactory
java.lang.Object
org.exolab.castor.builder.printing.StandardJClassPrinterFactory
- All Implemented Interfaces:
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theJClassPrinter
instance as identified by thisJClassPrinterFactory
instance.getName()
Returns a short name for thisJClassPrinterFactory
instance.
-
Constructor Details
-
StandardJClassPrinterFactory
public StandardJClassPrinterFactory()
-
-
Method Details
-
getJClassPrinter
Returns theJClassPrinter
instance as identified by thisJClassPrinterFactory
instance.- Specified by:
getJClassPrinter
in interfaceJClassPrinterFactory
- Returns:
- Returns the actual
JClassPrinter
instance - See Also:
-
getName
Returns a short name for thisJClassPrinterFactory
instance.- Specified by:
getName
in interfaceJClassPrinterFactory
- Returns:
- a short name (used for setting the JClassPrinter type on the
invalid reference
SourceGenerator
- See Also:
-