|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.exolab.castor.builder.BaseFactory
org.exolab.castor.builder.MemberFactory
The "Factory" responsible for creating fields for the given schema components.
| Constructor Summary | |
MemberFactory(BuilderConfiguration config,
FieldInfoFactory infoFactory,
GroupNaming groupNaming)
Creates a new MemberFactory using the given FieldInfo factory. |
|
| Method Summary | |
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(XSType xsType,
boolean useJava50)
Creates a FieldInfo for content. |
| Methods inherited from class org.exolab.castor.builder.BaseFactory |
getConfig, getGroupNaming, getInfoFactory, normalize, setGroupNaming |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MemberFactory(BuilderConfiguration config,
FieldInfoFactory infoFactory,
GroupNaming groupNaming)
config - the BuilderConfigurationinfoFactory - the FieldInfoFactory to usegroupNaming - Grou pnaming scheme to be used.| Method Detail |
public FieldInfo createFieldInfoForAny(Wildcard any,
boolean useJava50)
any - the wildcard we will operate onuseJava50 - if true then we will generate code for Java 5
public FieldInfo createFieldInfoForChoiceValue()
public FieldInfo createFieldInfoForContent(XSType xsType,
boolean useJava50)
xsType - the type of contentuseJava50 - if true, code will be generated for Java 5
public 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 5
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||