Class 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 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 XMLFieldHandler
        xsType - the XSType (XML Schema Type) of this field
        localClassName - unqualified (no package) name of this class
        jsc - the source code to which we'll add this XMLFieldHandler
        forGeneralizedHandler - Whether to generate a generalized field handler