Class XMLFieldHandlerFactory
java.lang.Object
org.exolab.castor.builder.factory.XMLFieldHandlerFactory
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
ConstructorsConstructorDescriptionCreates an instance of this factory. -
Method Summary
Modifier and TypeMethodDescriptionvoid
createXMLFieldHandler
(FieldInfo member, XSType xsType, String localClassName, JSourceCode jsc, boolean forGeneralizedHandler) Creates the XMLFieldHandler for the given FieldInfo.
-
Constructor Details
-
XMLFieldHandlerFactory
Creates an instance of this factory.- Parameters:
config
- The XML code generator configuration.
-
-
Method Details
-
createXMLFieldHandler
public void createXMLFieldHandler(FieldInfo member, XSType xsType, 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
-