org.apache.ws.jaxme.xs.xml.impl

Class XsObjectFactoryImpl

Implemented Interfaces:
XsObjectFactory
Known Direct Subclasses:
JAXBXsObjectFactoryImpl

public class XsObjectFactoryImpl
extends java.lang.Object
implements XsObjectFactory

The XsObjectFactory, which allows to extend the parser. The various elements and/or attributes use this factory to create new objects.
Author:
Jochen Wiedmann

Method Summary

protected XSContext
getContext()
Locator
getLocator()
XMLReader
newXMLReader(boolean pValidating)
XsAGDefRef
newXsAGDefRef(XsObject pOwner)
XsAGOccurs
newXsAGOccurs(XsObject pOwner)
XsEAnnotation
newXsEAnnotation(XsObject pParent)
XsEAny
newXsEAny(XsObject pParent)
XsEAppinfo
newXsEAppinfo(XsObject pParent)
XsEChoice
newXsEChoice(XsObject pParent)
XsEComplexContent
newXsEComplexContent(XsObject pParent)
XsEDocumentation
newXsEDocumentation(XsObject pParent)
XsEEnumeration
newXsEEnumeration(XsObject pParent)
XsEField
newXsEField(XsObject pParent)
XsEFractionDigits
newXsEFractionDigits(XsObject pParent)
XsEImport
newXsEImport(XsObject pParent)
XsEInclude
newXsEInclude(XsObject pParent)
XsEKey
newXsEKey(XsObject pParent)
XsEKeyref
newXsEKeyref(XsObject pParent)
XsELength
newXsELength(XsObject pParent)
XsEList
newXsEList(XsObject pParent)
XsEMaxExclusive
newXsEMaxExclusive(XsObject pParent)
XsEMaxInclusive
newXsEMaxInclusive(XsObject pParent)
XsEMaxLength
newXsEMaxLength(XsObject pParent)
XsEMinExclusive
newXsEMinExclusive(XsObject pParent)
XsEMinInclusive
newXsEMinInclusive(XsObject pParent)
XsEMinLength
newXsEMinLength(XsObject pParent)
XsENotation
newXsENotation(XsObject pParent)
XsEPattern
newXsEPattern(XsObject pParent)
XsERedefine
newXsERedefine(XsObject pParent)
XsERestriction
newXsERestriction(XsObject pParent)
XsESchema
newXsESchema()
XsESelector
newXsESelector(XsObject pParent)
XsESequence
newXsESequence(XsObject pParent)
XsESimpleContent
newXsESimpleContent(XsObject pParent)
XsETopLevelSimpleType
newXsETopLevelSimpleType(XsObject pParent)
XsETotalDigits
newXsETotalDigits(XsObject pParent)
XsEUnion
newXsEUnion(XsObject pParent)
XsEUnique
newXsEUnique(XsObject pParent)
XsEWhiteSpace
newXsEWhiteSpace(XsObject pParent)
XsGAllModel
newXsGAllModel(XsObject pParent)
XsGAttrDecls
newXsGAttrDecls(XsObject pOwner)
XsGComplexTypeModel
newXsGComplexTypeModel(XsObject pOwner)
XsGIdentityConstraint
newXsGIdentityConstraint(XsObject pOwner)
XsGParticle
newXsGParticle(XsObject pOwner)
XsGSimpleRestrictionModel
newXsGSimpleRestrictionModel(XsObject pOwner)
XsGTypeDefParticle
newXsGTypeDefParticle(XsObject pOwner)
XsSAXParser
newXsSAXParser()
XsSAXParser
newXsSAXParser(Object pBean)
XsTAll
newXsTAll(XsObject pParent)
XsTAnnotated
newXsTAnnotated(XsObject pParent)
XsTAttribute
newXsTAttribute(XsObject pParent)
XsTAttributeGroup
newXsTAttributeGroup(XsObject pParent)
XsTAttributeGroupRef
newXsTAttributeGroupRef(XsObject pParent)
XsTComplexRestrictionType
newXsTComplexRestrictionType(XsObject pParent)
XsTComplexType
newXsTComplexType(XsObject pParent)
XsTExtensionType
newXsTExtensionType(XsObject pParent)
XsTGroup
newXsTGroup(XsObject pParent)
XsTGroupRef
newXsTGroupRef(XsObject pParent)
XsTLocalElement
newXsTLocalAllElement(XsObject pParent)
Creates a new instance of XsTLocalElement, which is located inside of an xs:all group.
XsTLocalComplexType
newXsTLocalComplexType(XsObject pParent)
XsTLocalElement
newXsTLocalElement(XsObject pParent)
XsTLocalSimpleType
newXsTLocalSimpleType(XsObject pParent)
XsTNamedGroup
newXsTNamedGroup(XsObject pParent)
XsTSimpleExplicitGroup
newXsTSimpleExplicitGroup(XsObject pParent)
XsTSimpleExtensionType
newXsTSimpleExtensionType(XsObject pParent)
XsTSimpleRestrictionType
newXsTSimpleRestrictionType(XsObject pParent)
XsTTopLevelElement
newXsTTopLevelElement(XsObject pParent)
XsTWildcard
newXsTWildcard(XsObject pParent)

Method Details

getContext

protected XSContext getContext()

getLocator

public Locator getLocator()
Specified by:
getLocator in interface XsObjectFactory

newXMLReader

public XMLReader newXMLReader(boolean pValidating)
            throws ParserConfigurationException,
                   SAXException
Specified by:
newXMLReader in interface XsObjectFactory

newXsAGDefRef

public XsAGDefRef newXsAGDefRef(XsObject pOwner)
Specified by:
newXsAGDefRef in interface XsObjectFactory

newXsAGOccurs

public XsAGOccurs newXsAGOccurs(XsObject pOwner)
Specified by:
newXsAGOccurs in interface XsObjectFactory

newXsEAnnotation

public XsEAnnotation newXsEAnnotation(XsObject pParent)
Specified by:
newXsEAnnotation in interface XsObjectFactory

newXsEAny

public XsEAny newXsEAny(XsObject pParent)
Specified by:
newXsEAny in interface XsObjectFactory

newXsEAppinfo

public XsEAppinfo newXsEAppinfo(XsObject pParent)
Specified by:
newXsEAppinfo in interface XsObjectFactory

newXsEChoice

public XsEChoice newXsEChoice(XsObject pParent)
Specified by:
newXsEChoice in interface XsObjectFactory

newXsEComplexContent

public XsEComplexContent newXsEComplexContent(XsObject pParent)
Specified by:
newXsEComplexContent in interface XsObjectFactory

newXsEDocumentation

public XsEDocumentation newXsEDocumentation(XsObject pParent)
Specified by:
newXsEDocumentation in interface XsObjectFactory

newXsEEnumeration

public XsEEnumeration newXsEEnumeration(XsObject pParent)
Specified by:
newXsEEnumeration in interface XsObjectFactory

newXsEField

public XsEField newXsEField(XsObject pParent)
Specified by:
newXsEField in interface XsObjectFactory

newXsEFractionDigits

public XsEFractionDigits newXsEFractionDigits(XsObject pParent)
Specified by:
newXsEFractionDigits in interface XsObjectFactory

newXsEImport

public XsEImport newXsEImport(XsObject pParent)
Specified by:
newXsEImport in interface XsObjectFactory

newXsEInclude

public XsEInclude newXsEInclude(XsObject pParent)
Specified by:
newXsEInclude in interface XsObjectFactory

newXsEKey

public XsEKey newXsEKey(XsObject pParent)
Specified by:
newXsEKey in interface XsObjectFactory

newXsEKeyref

public XsEKeyref newXsEKeyref(XsObject pParent)
Specified by:
newXsEKeyref in interface XsObjectFactory

newXsELength

public XsELength newXsELength(XsObject pParent)
Specified by:
newXsELength in interface XsObjectFactory

newXsEList

public XsEList newXsEList(XsObject pParent)
Specified by:
newXsEList in interface XsObjectFactory

newXsEMaxExclusive

public XsEMaxExclusive newXsEMaxExclusive(XsObject pParent)
Specified by:
newXsEMaxExclusive in interface XsObjectFactory

newXsEMaxInclusive

public XsEMaxInclusive newXsEMaxInclusive(XsObject pParent)
Specified by:
newXsEMaxInclusive in interface XsObjectFactory

newXsEMaxLength

public XsEMaxLength newXsEMaxLength(XsObject pParent)
Specified by:
newXsEMaxLength in interface XsObjectFactory

newXsEMinExclusive

public XsEMinExclusive newXsEMinExclusive(XsObject pParent)
Specified by:
newXsEMinExclusive in interface XsObjectFactory

newXsEMinInclusive

public XsEMinInclusive newXsEMinInclusive(XsObject pParent)
Specified by:
newXsEMinInclusive in interface XsObjectFactory

newXsEMinLength

public XsEMinLength newXsEMinLength(XsObject pParent)
Specified by:
newXsEMinLength in interface XsObjectFactory

newXsENotation

public XsENotation newXsENotation(XsObject pParent)
Specified by:
newXsENotation in interface XsObjectFactory

newXsEPattern

public XsEPattern newXsEPattern(XsObject pParent)
Specified by:
newXsEPattern in interface XsObjectFactory

newXsERedefine

public XsERedefine newXsERedefine(XsObject pParent)
Specified by:
newXsERedefine in interface XsObjectFactory

newXsERestriction

public XsERestriction newXsERestriction(XsObject pParent)
Specified by:
newXsERestriction in interface XsObjectFactory

newXsESchema

public XsESchema newXsESchema()
Specified by:
newXsESchema in interface XsObjectFactory

newXsESelector

public XsESelector newXsESelector(XsObject pParent)
Specified by:
newXsESelector in interface XsObjectFactory

newXsESequence

public XsESequence newXsESequence(XsObject pParent)
Specified by:
newXsESequence in interface XsObjectFactory

newXsESimpleContent

public XsESimpleContent newXsESimpleContent(XsObject pParent)
Specified by:
newXsESimpleContent in interface XsObjectFactory

newXsETopLevelSimpleType

public XsETopLevelSimpleType newXsETopLevelSimpleType(XsObject pParent)
Specified by:
newXsETopLevelSimpleType in interface XsObjectFactory

newXsETotalDigits

public XsETotalDigits newXsETotalDigits(XsObject pParent)
Specified by:
newXsETotalDigits in interface XsObjectFactory

newXsEUnion

public XsEUnion newXsEUnion(XsObject pParent)
Specified by:
newXsEUnion in interface XsObjectFactory

newXsEUnique

public XsEUnique newXsEUnique(XsObject pParent)
Specified by:
newXsEUnique in interface XsObjectFactory

newXsEWhiteSpace

public XsEWhiteSpace newXsEWhiteSpace(XsObject pParent)
Specified by:
newXsEWhiteSpace in interface XsObjectFactory

newXsGAllModel

public XsGAllModel newXsGAllModel(XsObject pParent)
Specified by:
newXsGAllModel in interface XsObjectFactory

newXsGAttrDecls

public XsGAttrDecls newXsGAttrDecls(XsObject pOwner)
Specified by:
newXsGAttrDecls in interface XsObjectFactory

newXsGComplexTypeModel

public XsGComplexTypeModel newXsGComplexTypeModel(XsObject pOwner)
Specified by:
newXsGComplexTypeModel in interface XsObjectFactory

newXsGIdentityConstraint

public XsGIdentityConstraint newXsGIdentityConstraint(XsObject pOwner)
Specified by:
newXsGIdentityConstraint in interface XsObjectFactory

newXsGParticle

public XsGParticle newXsGParticle(XsObject pOwner)
Specified by:
newXsGParticle in interface XsObjectFactory

newXsGSimpleRestrictionModel

public XsGSimpleRestrictionModel newXsGSimpleRestrictionModel(XsObject pOwner)
Specified by:
newXsGSimpleRestrictionModel in interface XsObjectFactory

newXsGTypeDefParticle

public XsGTypeDefParticle newXsGTypeDefParticle(XsObject pOwner)
Specified by:
newXsGTypeDefParticle in interface XsObjectFactory

newXsSAXParser

public XsSAXParser newXsSAXParser()
Specified by:
newXsSAXParser in interface XsObjectFactory

newXsSAXParser

public XsSAXParser newXsSAXParser(Object pBean)
Specified by:
newXsSAXParser in interface XsObjectFactory

newXsTAll

public XsTAll newXsTAll(XsObject pParent)
Specified by:
newXsTAll in interface XsObjectFactory

newXsTAnnotated

public XsTAnnotated newXsTAnnotated(XsObject pParent)
Specified by:
newXsTAnnotated in interface XsObjectFactory

newXsTAttribute

public XsTAttribute newXsTAttribute(XsObject pParent)
Specified by:
newXsTAttribute in interface XsObjectFactory

newXsTAttributeGroup

public XsTAttributeGroup newXsTAttributeGroup(XsObject pParent)
Specified by:
newXsTAttributeGroup in interface XsObjectFactory

newXsTAttributeGroupRef

public XsTAttributeGroupRef newXsTAttributeGroupRef(XsObject pParent)
Specified by:
newXsTAttributeGroupRef in interface XsObjectFactory

newXsTComplexRestrictionType

public XsTComplexRestrictionType newXsTComplexRestrictionType(XsObject pParent)
Specified by:
newXsTComplexRestrictionType in interface XsObjectFactory

newXsTComplexType

public XsTComplexType newXsTComplexType(XsObject pParent)
Specified by:
newXsTComplexType in interface XsObjectFactory

newXsTExtensionType

public XsTExtensionType newXsTExtensionType(XsObject pParent)
Specified by:
newXsTExtensionType in interface XsObjectFactory

newXsTGroup

public XsTGroup newXsTGroup(XsObject pParent)
Specified by:
newXsTGroup in interface XsObjectFactory

newXsTGroupRef

public XsTGroupRef newXsTGroupRef(XsObject pParent)
Specified by:
newXsTGroupRef in interface XsObjectFactory

newXsTLocalAllElement

public XsTLocalElement newXsTLocalAllElement(XsObject pParent)
Creates a new instance of XsTLocalElement, which is located inside of an xs:all group. The element ensures that its minOccurs and maxOccurs values are 0 or 1.
Specified by:
newXsTLocalAllElement in interface XsObjectFactory

newXsTLocalComplexType

public XsTLocalComplexType newXsTLocalComplexType(XsObject pParent)
Specified by:
newXsTLocalComplexType in interface XsObjectFactory

newXsTLocalElement

public XsTLocalElement newXsTLocalElement(XsObject pParent)
Specified by:
newXsTLocalElement in interface XsObjectFactory

newXsTLocalSimpleType

public XsTLocalSimpleType newXsTLocalSimpleType(XsObject pParent)
Specified by:
newXsTLocalSimpleType in interface XsObjectFactory

newXsTNamedGroup

public XsTNamedGroup newXsTNamedGroup(XsObject pParent)
Specified by:
newXsTNamedGroup in interface XsObjectFactory

newXsTSimpleExplicitGroup

public XsTSimpleExplicitGroup newXsTSimpleExplicitGroup(XsObject pParent)
Specified by:
newXsTSimpleExplicitGroup in interface XsObjectFactory

newXsTSimpleExtensionType

public XsTSimpleExtensionType newXsTSimpleExtensionType(XsObject pParent)
Specified by:
newXsTSimpleExtensionType in interface XsObjectFactory

newXsTSimpleRestrictionType

public XsTSimpleRestrictionType newXsTSimpleRestrictionType(XsObject pParent)
Specified by:
newXsTSimpleRestrictionType in interface XsObjectFactory

newXsTTopLevelElement

public XsTTopLevelElement newXsTTopLevelElement(XsObject pParent)
Specified by:
newXsTTopLevelElement in interface XsObjectFactory

newXsTWildcard

public XsTWildcard newXsTWildcard(XsObject pParent)
Specified by:
newXsTWildcard in interface XsObjectFactory