Public Member Functions

org.exolab.castor.builder.MemberFactory Class Reference

List of all members.

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)

Detailed Description

The "Factory" responsible for creating fields for the given schema components

Author:
Keith Visco
Version:
Revision:
1.11
Date:
2004/11/05 04:42:26

Constructor & Destructor Documentation

org.exolab.castor.builder.MemberFactory.MemberFactory ( BuilderConfiguration  config  ) 

Creates a new MemberFactory with default type factory.

Parameters:
config the BuilderConfiguration
org.exolab.castor.builder.MemberFactory.MemberFactory ( BuilderConfiguration  config,
FieldInfoFactory  infoFactory 
)

Member Function Documentation

FieldInfo org.exolab.castor.builder.MemberFactory.createFieldInfo ( XMLBindingComponent  component,
ClassInfoResolver  resolver 
)

Creates a FieldInfo object for the given XMLBindingComponent.

Parameters:
component the XMLBindingComponent to create the FieldInfo for
Returns:
the FieldInfo for the given attribute declaration

Todo:
set the prefix used in the XML Schema in order to use it inside the Marshalling Framework

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().

FieldInfo org.exolab.castor.builder.MemberFactory.createFieldInfoForAny ( Wildcard  any  ) 
FieldInfo org.exolab.castor.builder.MemberFactory.createFieldInfoForContent ( XSType  xsType  ) 

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties