Class XMLFieldHandlerFactory
- java.lang.Object
-
- org.exolab.castor.builder.factory.XMLFieldHandlerFactory
-
public final class XMLFieldHandlerFactory extends java.lang.Object
A factory for creating XMLFieldHandler instances as embedded in descriptors classes generated throughout code generation.- Version:
- $Revision: 6469 $ $Date: 2006-04-13 07:37:49 -0600 (Thu, 13 Apr 2006) $
- Author:
- Werner Guttmann
-
-
Constructor Summary
Constructors Constructor Description XMLFieldHandlerFactory(BuilderConfiguration config)
Creates an instance of this factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createXMLFieldHandler(FieldInfo member, XSType xsType, java.lang.String localClassName, JSourceCode jsc, boolean forGeneralizedHandler)
Creates the XMLFieldHandler for the given FieldInfo.
-
-
-
Constructor Detail
-
XMLFieldHandlerFactory
public XMLFieldHandlerFactory(BuilderConfiguration config)
Creates an instance of this factory.- Parameters:
config
- The XML code generator configuration.
-
-
Method Detail
-
createXMLFieldHandler
public void createXMLFieldHandler(FieldInfo member, XSType xsType, java.lang.String localClassName, JSourceCode jsc, boolean forGeneralizedHandler)
Creates the XMLFieldHandler for the given FieldInfo.- Parameters:
member
- the member for which to create an XMLFieldHandlerxsType
- the XSType (XML Schema Type) of this fieldlocalClassName
- unqualified (no package) name of this classjsc
- the source code to which we'll add this XMLFieldHandlerforGeneralizedHandler
- Whether to generate a generalized field handler
-
-