Class JClassPrinterFactoryRegistry
java.lang.Object
org.exolab.castor.builder.printing.JClassPrinterFactoryRegistry
Registry for
JClassPrinterFactory
implementations obtained from the Castor XML code
generator property file and used by the XML code generator during its operation.- Since:
- 1.2.1
- Version:
- $Revision: 7134 $ $Date: 2006-04-08 08:58:10 -0600 (Sat, 08 Apr 2006) $
- Author:
- Werner Guttmann
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct an instance of JClassPrinterFactoryRegistry that loads theJClassPrinterFactory
implementations specified in the given Configuration. -
Method Summary
Modifier and TypeMethodDescriptionReturns aJClassPrinterFactory
with the specified name.String[]
Returns the names of all the configuredJClassPrinterFactory
implementations.
-
Constructor Details
-
JClassPrinterFactoryRegistry
Construct an instance of JClassPrinterFactoryRegistry that loads theJClassPrinterFactory
implementations specified in the given Configuration.- Parameters:
config
- The LocalConfiguration.
-
-
Method Details
-
getJClassPrinterFactoryNames
Returns the names of all the configuredJClassPrinterFactory
implementations. AJClassPrinterFactory
instance can be obtained by thegetJClassPrinterFactory(java.lang.String)
method.- Returns:
- Names of
JClassPrinterFactory
implementations
-
getJClassPrinterFactory
Returns aJClassPrinterFactory
with the specified name. Returns null if the named factory is not supported.- Parameters:
name
- The name of the JClassPrinterFactory.- Returns:
- The
JClassPrinterFactory
or null if none exists.
-