org.exolab.castor.builder.factory
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.
$Revision: 6469 $ $Date: 2006-04-13 07:37:49 -0600 (Thu, 13 Apr 2006) $
XMLFieldHandlerFactory
public XMLFieldHandlerFactory(BuilderConfiguration config)
Creates an instance of this factory.
config
- The XML code generator configuration.
createXMLFieldHandler
public void createXMLFieldHandler(FieldInfo member,
XSType xsType,
String localClassName,
JSourceCode jsc,
boolean forGeneralizedHandler)
Creates the XMLFieldHandler for the given FieldInfo.
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
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com