public final class MemberFactory extends BaseFactory
Constructor | Description |
---|---|
MemberFactory(BuilderConfiguration config,
FieldInfoFactory infoFactory,
GroupNaming groupNaming,
SourceGenerator sourceGenerator) |
Creates a new MemberFactory using the given FieldInfo factory.
|
Modifier and Type | Method | Description |
---|---|---|
FieldInfo |
createFieldInfo(XMLBindingComponent component,
ClassInfoResolver resolver,
boolean useJava50) |
Creates a FieldInfo object for the given XMLBindingComponent.
|
FieldInfo |
createFieldInfoForAny(Wildcard any,
boolean useJava50) |
Creates a FieldInfo for content models that support "any" element.
|
FieldInfo |
createFieldInfoForChoiceValue() |
Creates a FieldInfo to hold the value of a choice.
|
FieldInfo |
createFieldInfoForContent(XMLBindingComponent component,
XSType xsType,
boolean useJava50) |
Creates a FieldInfo for content.
|
createComment, extractCommentsFromAnnotations, getConfig, getGroupNaming, getInfoFactory, getJavaNaming, getSourceGenerator, normalize, setGroupNaming
public MemberFactory(BuilderConfiguration config, FieldInfoFactory infoFactory, GroupNaming groupNaming, SourceGenerator sourceGenerator)
config
- the BuilderConfigurationinfoFactory
- the FieldInfoFactory to usegroupNaming
- Grou pnaming scheme to be used.sourceGenerator
- Calling source generatorpublic FieldInfo createFieldInfoForAny(Wildcard any, boolean useJava50)
any
- the wildcard we will operate onuseJava50
- if true then we will generate code for Java 5public FieldInfo createFieldInfoForChoiceValue()
public FieldInfo createFieldInfoForContent(XMLBindingComponent component, XSType xsType, boolean useJava50)
component
- XMLBindingComponent
instance for accessing binding information.xsType
- the type of contentuseJava50
- if true, code will be generated for Java 5public FieldInfo createFieldInfo(XMLBindingComponent component, ClassInfoResolver resolver, boolean useJava50)
component
- the XMLBindingComponent to create the FieldInfo forresolver
- resolver to use to find ClassInfouseJava50
- if true, code will be generated for Java 5Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com