org.exolab.castor.builder.printing
Class StandardJClassPrinterFactory

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

public class StandardJClassPrinterFactory
extends java.lang.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

Constructor Summary
StandardJClassPrinterFactory()
           
 
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

StandardJClassPrinterFactory

public StandardJClassPrinterFactory()
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()


Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com