Public Member Functions | |
MemberFactory (BuilderConfiguration config) | |
MemberFactory (BuilderConfiguration config, FieldInfoFactory infoFactory) | |
FieldInfo | createFieldInfoForAny (Wildcard any) |
FieldInfo | createFieldInfoForContent (XSType xsType) |
FieldInfo | createFieldInfo (XMLBindingComponent component, ClassInfoResolver resolver) |
The "Factory" responsible for creating fields for the given schema components
org.exolab.castor.builder.MemberFactory.MemberFactory | ( | BuilderConfiguration | config | ) |
Creates a new MemberFactory with default type factory.
config | the BuilderConfiguration |
org.exolab.castor.builder.MemberFactory.MemberFactory | ( | BuilderConfiguration | config, | |
FieldInfoFactory | infoFactory | |||
) |
Creates a new MemberFactory using the given FieldInfo factory.
config | the BuilderConfiguration | |
infoFactory | the FieldInfoFactory to use |
References org.exolab.castor.builder.BuilderConfiguration.boundPropertiesEnabled(), org.exolab.castor.builder.BuilderConfiguration.generateExtraCollectionMethods(), org.exolab.castor.builder.BuilderConfiguration.getProperty(), org.exolab.castor.builder.FieldInfoFactory.setBoundProperties(), org.exolab.castor.builder.FieldInfoFactory.setCreateExtraMethods(), and org.exolab.castor.builder.FieldInfoFactory.setReferenceMethodSuffix().
FieldInfo org.exolab.castor.builder.MemberFactory.createFieldInfo | ( | XMLBindingComponent | component, | |
ClassInfoResolver | resolver | |||
) |
Creates a FieldInfo object for the given XMLBindingComponent.
component | the XMLBindingComponent to create the FieldInfo for |
References org.exolab.castor.xml.schema.Structure.ATTRIBUTE, org.exolab.castor.builder.FieldInfoFactory.createCollection(), org.exolab.castor.builder.FieldInfoFactory.createFieldInfo(), org.exolab.castor.builder.FieldInfoFactory.createIdentity(), org.exolab.castor.builder.binding.XMLBindingComponent.getAnnotated(), org.exolab.castor.xml.schema.XMLType.getBaseType(), org.exolab.castor.builder.binding.XMLBindingComponent.getBinding(), org.exolab.castor.builder.binding.XMLBindingComponent.getCollectionType(), org.exolab.castor.xml.schema.XMLType.getDerivationMethod(), org.exolab.castor.builder.binding.XMLBindingComponent.getJavaMemberName(), org.exolab.castor.builder.binding.XMLBindingComponent.getJavaType(), org.exolab.castor.builder.ClassInfo.getJClass(), org.exolab.castor.builder.types.XSType.getJType(), org.exolab.castor.builder.binding.XMLBindingComponent.getLowerBound(), org.exolab.javasource.JType.getName(), org.exolab.castor.xml.schema.XMLType.getName(), org.exolab.castor.builder.binding.XMLBindingComponent.getQualifiedName(), org.exolab.castor.builder.XMLInfo.getSchemaType(), org.exolab.castor.xml.schema.Structure.getStructureType(), org.exolab.castor.builder.binding.XMLBindingComponent.getTargetNamespace(), org.exolab.castor.builder.types.XSType.getType(), org.exolab.castor.builder.binding.XMLBindingComponent.getUpperBound(), org.exolab.castor.builder.binding.XMLBindingComponent.getValidator(), org.exolab.castor.builder.binding.XMLBindingComponent.getValue(), org.exolab.castor.builder.binding.XMLBindingComponent.getXMLFieldHandler(), org.exolab.castor.builder.binding.XMLBindingComponent.getXMLName(), org.exolab.castor.builder.binding.XMLBindingComponent.getXMLType(), org.exolab.castor.builder.CollectionInfo.getXSList(), org.exolab.castor.xml.schema.SimpleType.hasFacet(), org.exolab.castor.xml.schema.XMLType.isAnyType(), org.exolab.castor.xml.schema.SimpleType.isBuiltInType(), org.exolab.castor.xml.schema.XMLType.isComplexType(), org.exolab.castor.builder.types.XSType.isDateTime(), org.exolab.castor.builder.binding.XMLBindingComponent.isFixed(), org.exolab.castor.builder.binding.XMLBindingComponent.isNillable(), org.exolab.javasource.JType.isPrimitive(), org.exolab.castor.xml.schema.XMLType.isSimpleType(), org.exolab.castor.builder.BuilderConfiguration.mappingSchemaType2Java(), org.exolab.castor.builder.ClassInfoResolver.resolve(), org.exolab.castor.builder.binding.XMLBindingComponent.setBinding(), org.exolab.castor.builder.FieldInfo.setComment(), org.exolab.castor.builder.FieldInfo.setContainer(), org.exolab.castor.builder.FieldInfo.setDefaultValue(), org.exolab.castor.builder.FieldInfo.setFixedValue(), org.exolab.castor.builder.types.XSList.setMaximumSize(), org.exolab.castor.builder.types.XSList.setMinimumSize(), org.exolab.castor.builder.XMLInfo.setNamespaceURI(), org.exolab.castor.builder.FieldInfo.setNillable(), org.exolab.castor.builder.XMLInfo.setNodeName(), org.exolab.castor.builder.XMLInfo.setNodeType(), org.exolab.castor.builder.XMLInfo.setRequired(), org.exolab.castor.builder.FieldInfo.setValidator(), org.exolab.castor.builder.binding.XMLBindingComponent.setView(), org.exolab.castor.builder.FieldInfo.setXMLFieldHandler(), and org.exolab.javasource.JType.toString().
Creates a FieldInfo for content models that support "any" element.
References org.exolab.castor.builder.FieldInfoFactory.createCollection(), org.exolab.castor.builder.FieldInfoFactory.createFieldInfo(), org.exolab.castor.xml.schema.Particle.getMaxOccurs(), org.exolab.castor.xml.schema.Particle.getMinOccurs(), org.exolab.castor.xml.schema.Wildcard.getNamespaces(), org.exolab.castor.xml.schema.Wildcard.getSchema(), org.exolab.castor.xml.schema.Schema.getTargetNamespace(), org.exolab.castor.builder.CollectionInfo.getXSList(), org.exolab.castor.xml.schema.Wildcard.isAttributeWildcard(), org.exolab.castor.builder.types.XSList.setMaximumSize(), org.exolab.castor.builder.types.XSList.setMinimumSize(), org.exolab.castor.builder.XMLInfo.setNamespaceURI(), org.exolab.castor.builder.XMLInfo.setNodeName(), and org.exolab.castor.builder.XMLInfo.setRequired().
Creates a FieldInfo for content.
xsType | the type of content |
References org.exolab.castor.builder.FieldInfoFactory.createCollection(), org.exolab.castor.builder.FieldInfoFactory.createFieldInfo(), org.exolab.castor.builder.types.XSType.getType(), org.exolab.castor.builder.FieldInfo.setComment(), org.exolab.castor.builder.FieldInfo.setDefaultValue(), org.exolab.castor.builder.XMLInfo.setNodeName(), org.exolab.castor.builder.XMLInfo.setNodeType(), and org.exolab.castor.builder.XMLInfo.setRequired().
Referenced by org.exolab.castor.builder.SourceFactory.createSourceCode().