org.exolab.castor.builder.factory
Class MemberFactory
public final class MemberFactory
The "Factory" responsible for creating fields for the given schema components.
$Revision: 7398 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
MemberFactory
public MemberFactory(BuilderConfiguration config,
FieldInfoFactory infoFactory,
GroupNaming groupNaming,
SourceGenerator sourceGenerator) Creates a new MemberFactory using the given FieldInfo factory.
config - the BuilderConfigurationinfoFactory - the FieldInfoFactory to usegroupNaming - Grou pnaming scheme to be used.sourceGenerator - Calling source generator
createFieldInfo
public FieldInfo createFieldInfo(XMLBindingComponent component,
ClassInfoResolver resolver,
boolean useJava50) Creates a FieldInfo object for the given XMLBindingComponent.
component - the XMLBindingComponent to create the FieldInfo forresolver - resolver to use to find ClassInfouseJava50 - if true, code will be generated for Java 5
- the FieldInfo for the given attribute declaration
createFieldInfoForAny
public FieldInfo createFieldInfoForAny(Wildcard any,
boolean useJava50) Creates a FieldInfo for content models that support "any" element.
any - the wildcard we will operate onuseJava50 - if true then we will generate code for Java 5
createFieldInfoForChoiceValue
public FieldInfo createFieldInfoForChoiceValue()
Creates a FieldInfo to hold the value of a choice.
createFieldInfoForContent
public FieldInfo createFieldInfoForContent(XMLBindingComponent component,
XSType xsType,
boolean useJava50) Creates a FieldInfo for content.
component - XMLBindingComponent instance for accessing binding information.xsType - the type of contentuseJava50 - if true, code will be generated for Java 5
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com