public class JClassPrinterFactoryRegistry extends Object
JClassPrinterFactory
implementations obtained from the
Castor XML code generator property file and used by the XML code generator during
its operation.Constructor and Description |
---|
JClassPrinterFactoryRegistry(BuilderConfiguration config)
Construct an instance of JClassPrinterFactoryRegistry that loads the
JClassPrinterFactory implementations specified in the given
Configuration. |
Modifier and Type | Method and Description |
---|---|
JClassPrinterFactory |
getJClassPrinterFactory(String name)
Returns a
JClassPrinterFactory with the specified name. |
String[] |
getJClassPrinterFactoryNames()
Returns the names of all the configured
JClassPrinterFactory
implementations. |
public JClassPrinterFactoryRegistry(BuilderConfiguration config)
JClassPrinterFactory
implementations specified in the given
Configuration.config
- The LocalConfiguration.public String[] getJClassPrinterFactoryNames()
JClassPrinterFactory
implementations. A JClassPrinterFactory
instance can be obtained
by the getJClassPrinterFactory(java.lang.String)
method.JClassPrinterFactory
implementationspublic JClassPrinterFactory getJClassPrinterFactory(String name)
JClassPrinterFactory
with the specified name. Returns
null if the named factory is not supported.name
- The name of the JClassPrinterFactory.JClassPrinterFactory
or null if none exists.Copyright © 2014. All rights reserved.