org.exolab.castor.builder.factory

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 Summary

XMLFieldHandlerFactory(BuilderConfiguration config)
Creates an instance of this factory.

Method Summary

void
createXMLFieldHandler(FieldInfo member, XSType xsType, String localClassName, JSourceCode jsc, boolean forGeneralizedHandler)
Creates the XMLFieldHandler for the given FieldInfo.

Constructor Details

XMLFieldHandlerFactory

public XMLFieldHandlerFactory(BuilderConfiguration config)
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 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

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com