net.sf.jaxme.xs.xml.impl
Class XsObjectFactoryImpl
java.lang.Object
net.sf.jaxme.xs.xml.impl.XsObjectFactoryImpl
- All Implemented Interfaces:
- XsObjectFactory
- Direct Known 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XsObjectFactoryImpl
public XsObjectFactoryImpl()
getContext
protected XSContext getContext()
getLocator
public org.xml.sax.Locator getLocator()
- Specified by:
getLocator
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
newXsEComplexContent
public XsEComplexContent newXsEComplexContent(XsObject pParent)
- Specified by:
newXsEComplexContent
in interface XsObjectFactory
newXsEChoice
public XsEChoice newXsEChoice(XsObject pParent)
- Specified by:
newXsEChoice
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
newXsEFractionDigits
public XsEFractionDigits newXsEFractionDigits(XsObject pParent)
- Specified by:
newXsEFractionDigits
in interface XsObjectFactory
newXsEField
public XsEField newXsEField(XsObject pParent)
- Specified by:
newXsEField
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
newXsESequence
public XsESequence newXsESequence(XsObject pParent)
- Specified by:
newXsESequence
in interface XsObjectFactory
newXsESelector
public XsESelector newXsESelector(XsObject pParent)
- Specified by:
newXsESelector
in interface XsObjectFactory
newXsESimpleContent
public XsESimpleContent newXsESimpleContent(XsObject pParent)
- Specified by:
newXsESimpleContent
in interface XsObjectFactory
newXsESchema
public XsESchema newXsESchema()
- Specified by:
newXsESchema
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
newXsGIdentityConstraint
public XsGIdentityConstraint newXsGIdentityConstraint(XsObject pOwner)
- Specified by:
newXsGIdentityConstraint
in interface XsObjectFactory
newXsGParticle
public XsGParticle newXsGParticle(XsObject pOwner)
- Specified by:
newXsGParticle
in interface XsObjectFactory
newXsGComplexTypeModel
public XsGComplexTypeModel newXsGComplexTypeModel(XsObject pOwner)
- Specified by:
newXsGComplexTypeModel
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
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
newXsTLocalElement
public XsTLocalElement newXsTLocalElement(XsObject pParent)
- Specified by:
newXsTLocalElement
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
newXsTLocalSimpleType
public XsTLocalSimpleType newXsTLocalSimpleType(XsObject pParent)
- Specified by:
newXsTLocalSimpleType
in interface XsObjectFactory
newXsTNamedGroup
public XsTNamedGroup newXsTNamedGroup(XsObject pParent)
- Specified by:
newXsTNamedGroup
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
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
newXMLReader
public org.xml.sax.XMLReader newXMLReader(boolean pValidating)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
- Specified by:
newXMLReader
in interface XsObjectFactory
- Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
newXsSAXParser
public XsSAXParser newXsSAXParser()
- Specified by:
newXsSAXParser
in interface XsObjectFactory
newXsSAXParser
public XsSAXParser newXsSAXParser(java.lang.Object pBean)
- Specified by:
newXsSAXParser
in interface XsObjectFactory