org.apache.ws.jaxme.xs

Interface XSObjectFactory

Known Implementing Classes:
JAXBObjectFactoryImpl, XSObjectFactoryImpl

public interface XSObjectFactory

An object factory for the logical XSParser.
Author:
Jochen Wiedmann

Method Summary

SchemaTransformer
getSchemaTransformer()
Returns the object factories schema transformer.
XSAnnotation
newXSAnnotation(XSObject pParent, XsEAnnotation pAnnotation)
Returns a new instance of XSAnnotation.
XSAnnotation[]
newXSAnnotations(XSObject pParent, XsEAnnotation pAnnotation)
Returns a new instances of XSAnnotation.
XSAny
newXSAny(XSObject pParent, XsEAny pAny)
Returns a new instance of XSAny.
XSAppinfo
newXSAppinfo(XSObject pParent, XsEAppinfo pAppinfo)
Returns a new instance of XSAppinfo.
XSSimpleType
newXSAtomicType(XSType pParent, XSType pRestrictedType, XsERestriction pRestriction)
Returns a new instance of XSSimpleType.
XSSimpleType
newXSAtomicType(XSType pParent, XSType pRestrictedType, XsTSimpleRestrictionType pRestriction)
Returns a new instance of XSSimpleType.
XSAttribute
newXSAttribute(XSObject pParent, XsTAttribute pAttribute)
Returns a new instance of XSAttribute.
XSAttributeGroup
newXSAttributeGroup(XSObject pParent, XsTAttributeGroup pGroup)
Returns a new instance of XSAttributeGroup.
XSDocumentation
newXSDocumentation(XSObject pParent, XsEDocumentation pDocumentation)
Returns a new instance of XSDocumentation.
XSElement
newXSElement(XSObject pParent, XsTElement pElement)
Returns a new instance of XSElement.
XSEnumeration
newXSEnumeration(XSObject pParent, XsEEnumeration pEnumeration)
Returns a new instance of XSEnumeration.
XSGroup
newXSGroup(XSObject pParent, XsEChoice pChoice)
Returns a new instance of XSGroup.
XSGroup
newXSGroup(XSObject pParent, XsESequence pSequence)
Returns a new instance of XSGroup.
XSGroup
newXSGroup(XSObject pParent, XsTAll pAll)
Returns a new instance of XSGroup.
XSGroup
newXSGroup(XSObject pParent, XsTGroupRef pGroup)
Returns a new instance of XSGroup.
XSGroup
newXSGroup(XSObject pParent, XsTNamedGroup pGroup)
Returns a new instance of XSGroup.
XSIdentityConstraint
newXSIdentityConstraint(XSElement pParent, XsEKey key)
Returns a new instance of XSIdentityConstraint.
XSIdentityConstraint
newXSIdentityConstraint(XSElement pParent, XsEUnique unique)
Returns a new instance of XSIdentityConstraint.
XSKeyRef
newXSKeyRef(XSElement pParent, XsEKeyref keyRef)
Returns a new instance of XSKeyRef.
XSSimpleType
newXSListType(XSType pParent, XSType pRestrictedType, XsERestriction pRestriction)
Returns a new instance of XSSimpleType.
XSSimpleType
newXSListType(XSType pParent, XSType pRestrictedType, XsTSimpleRestrictionType pRestriction)
Returns a new instance of XSSimpleType.
XSSimpleType
newXSListType(XSType pParent, XsEList pList)
Returns a new instance of XSSimpleType.
XSLogicalParser
newXSLogicalParser()
Returns a new instance of XSLogicalParser.
XSNotation
newXSNotation(XSObject pParent, XsENotation pType)
Returns a new instance of XSNotation.
XSSchema
newXSSchema(XSContext pContext, XsESchema pSchema)
Returns a new instance of XSSchema.
XSSimpleContentType
newXSSimpleContentType(XSType pComplexType, XSType pSimpleType, XsObject pBaseObject)
Returns a new instance of XSSimpleContentType.
XSType
newXSType(XSObject pParent, XsETopLevelSimpleType pType)
Returns a new instance of XSType.
XSType
newXSType(XSObject pParent, XsTComplexType pType)
Returns a new instance of XSType.
XSType
newXSType(XSObject pParent, XsTLocalComplexType pType)
Returns a new instance of XSType.
XSType
newXSType(XSObject pParent, XsTLocalSimpleType pType)
Returns a new instance of XSType.
XSType
newXSType(XSObject pParent, XsTSimpleRestrictionType pType)
Returns a new instance of XSType.
XSSimpleType
newXSUnionType(XSType pParent, XSType pRestrictedType, XsERestriction pRestriction)
Returns a new instance of XSSimpleType.
XSSimpleType
newXSUnionType(XSType pParent, XSType pRestrictedType, XsTSimpleRestrictionType pRestriction)
Returns a new instance of XSSimpleType.
XSSimpleType
newXSUnionType(XSType pParent, XsEUnion pUnion)
Returns a new instance of XSSimpleType.
XSWildcard
newXSWildcard(XSObject pParent, XsTWildcard pWildcard)
Returns a new instance of XSWildcard.

Method Details

getSchemaTransformer

public SchemaTransformer getSchemaTransformer()
Returns the object factories schema transformer. May be null, in which case no schema transformation occurs.

newXSAnnotation

public XSAnnotation newXSAnnotation(XSObject pParent,
                                    XsEAnnotation pAnnotation)
            throws SAXException
Returns a new instance of XSAnnotation.

newXSAnnotations

public XSAnnotation[] newXSAnnotations(XSObject pParent,
                                       XsEAnnotation pAnnotation)
            throws SAXException
Returns a new instances of XSAnnotation.

newXSAny

public XSAny newXSAny(XSObject pParent,
                      XsEAny pAny)
            throws SAXException
Returns a new instance of XSAny.

newXSAppinfo

public XSAppinfo newXSAppinfo(XSObject pParent,
                              XsEAppinfo pAppinfo)
Returns a new instance of XSAppinfo.

newXSAtomicType

public XSSimpleType newXSAtomicType(XSType pParent,
                                    XSType pRestrictedType,
                                    XsERestriction pRestriction)
            throws SAXException
Returns a new instance of XSSimpleType.

newXSAtomicType

public XSSimpleType newXSAtomicType(XSType pParent,
                                    XSType pRestrictedType,
                                    XsTSimpleRestrictionType pRestriction)
            throws SAXException
Returns a new instance of XSSimpleType.

newXSAttribute

public XSAttribute newXSAttribute(XSObject pParent,
                                  XsTAttribute pAttribute)
            throws SAXException
Returns a new instance of XSAttribute.

newXSAttributeGroup

public XSAttributeGroup newXSAttributeGroup(XSObject pParent,
                                            XsTAttributeGroup pGroup)
            throws SAXException
Returns a new instance of XSAttributeGroup.

newXSDocumentation

public XSDocumentation newXSDocumentation(XSObject pParent,
                                          XsEDocumentation pDocumentation)
            throws SAXException
Returns a new instance of XSDocumentation.

newXSElement

public XSElement newXSElement(XSObject pParent,
                              XsTElement pElement)
            throws SAXException
Returns a new instance of XSElement.

newXSEnumeration

public XSEnumeration newXSEnumeration(XSObject pParent,
                                      XsEEnumeration pEnumeration)
            throws SAXException
Returns a new instance of XSEnumeration.

newXSGroup

public XSGroup newXSGroup(XSObject pParent,
                          XsEChoice pChoice)
            throws SAXException
Returns a new instance of XSGroup.

newXSGroup

public XSGroup newXSGroup(XSObject pParent,
                          XsESequence pSequence)
            throws SAXException
Returns a new instance of XSGroup.

newXSGroup

public XSGroup newXSGroup(XSObject pParent,
                          XsTAll pAll)
            throws SAXException
Returns a new instance of XSGroup.

newXSGroup

public XSGroup newXSGroup(XSObject pParent,
                          XsTGroupRef pGroup)
            throws SAXException
Returns a new instance of XSGroup.

newXSGroup

public XSGroup newXSGroup(XSObject pParent,
                          XsTNamedGroup pGroup)
            throws SAXException
Returns a new instance of XSGroup.

newXSIdentityConstraint

public XSIdentityConstraint newXSIdentityConstraint(XSElement pParent,
                                                    XsEKey key)
            throws SAXException
Returns a new instance of XSIdentityConstraint.

newXSIdentityConstraint

public XSIdentityConstraint newXSIdentityConstraint(XSElement pParent,
                                                    XsEUnique unique)
            throws SAXException
Returns a new instance of XSIdentityConstraint.

newXSKeyRef

public XSKeyRef newXSKeyRef(XSElement pParent,
                            XsEKeyref keyRef)
            throws SAXException
Returns a new instance of XSKeyRef.

newXSListType

public XSSimpleType newXSListType(XSType pParent,
                                  XSType pRestrictedType,
                                  XsERestriction pRestriction)
            throws SAXException
Returns a new instance of XSSimpleType.

newXSListType

public XSSimpleType newXSListType(XSType pParent,
                                  XSType pRestrictedType,
                                  XsTSimpleRestrictionType pRestriction)
            throws SAXException
Returns a new instance of XSSimpleType.

newXSListType

public XSSimpleType newXSListType(XSType pParent,
                                  XsEList pList)
            throws SAXException
Returns a new instance of XSSimpleType.

newXSLogicalParser

public XSLogicalParser newXSLogicalParser()
Returns a new instance of XSLogicalParser.

newXSNotation

public XSNotation newXSNotation(XSObject pParent,
                                XsENotation pType)
            throws SAXException
Returns a new instance of XSNotation.

newXSSchema

public XSSchema newXSSchema(XSContext pContext,
                            XsESchema pSchema)
            throws SAXException
Returns a new instance of XSSchema.

newXSSimpleContentType

public XSSimpleContentType newXSSimpleContentType(XSType pComplexType,
                                                  XSType pSimpleType,
                                                  XsObject pBaseObject)
            throws SAXException
Returns a new instance of XSSimpleContentType.

newXSType

public XSType newXSType(XSObject pParent,
                        XsETopLevelSimpleType pType)
            throws SAXException
Returns a new instance of XSType.

newXSType

public XSType newXSType(XSObject pParent,
                        XsTComplexType pType)
            throws SAXException
Returns a new instance of XSType.

newXSType

public XSType newXSType(XSObject pParent,
                        XsTLocalComplexType pType)
            throws SAXException
Returns a new instance of XSType.

newXSType

public XSType newXSType(XSObject pParent,
                        XsTLocalSimpleType pType)
            throws SAXException
Returns a new instance of XSType.

newXSType

public XSType newXSType(XSObject pParent,
                        XsTSimpleRestrictionType pType)
            throws SAXException
Returns a new instance of XSType.

newXSUnionType

public XSSimpleType newXSUnionType(XSType pParent,
                                   XSType pRestrictedType,
                                   XsERestriction pRestriction)
            throws SAXException
Returns a new instance of XSSimpleType.

newXSUnionType

public XSSimpleType newXSUnionType(XSType pParent,
                                   XSType pRestrictedType,
                                   XsTSimpleRestrictionType pRestriction)
            throws SAXException
Returns a new instance of XSSimpleType.

newXSUnionType

public XSSimpleType newXSUnionType(XSType pParent,
                                   XsEUnion pUnion)
            throws SAXException
Returns a new instance of XSSimpleType.

newXSWildcard

public XSWildcard newXSWildcard(XSObject pParent,
                                XsTWildcard pWildcard)
            throws SAXException
Returns a new instance of XSWildcard.