Interface of a factory for SG classes.
getGroupSG
public GroupSG getGroupSG(XSGroup pGroup)
throws SAXExceptionReturns an instance of
GroupSG generating the
given schema.
getGroups
public GroupSG[] getGroups()
Returns an array of all groups created by the factory.
getObjectSG
public ObjectSG getObjectSG(XSAny pWildcard,
Context pContext)
throws SAXExceptionReturns an instance of
ObjectSG generating the given
wildcard in the given context.
getObjectSG
public ObjectSG getObjectSG(XSElement pElement)
throws SAXExceptionReturns an instance of
ObjectSG generating the
given element.
getObjectSG
public ObjectSG getObjectSG(XSElement pElement,
Context pContext)
throws SAXExceptionReturns an instance of
ObjectSG generating the given
element in the given context.
getObjects
public ObjectSG[] getObjects()
Returns an array of all objects created by the factory.
getSchemaSG
public SchemaSG getSchemaSG()
Returns the factorys instance of
SchemaSG.
getSchemaSG
public SchemaSG getSchemaSG(XSSchema pSchema)
throws SAXExceptionReturns an instance of
SchemaSG generating the
given schema.
getTypeSG
public TypeSG getTypeSG(XSType pType)
throws SAXExceptionReturns a global instance of
TypeSG generating
the given type.
getTypeSG
public TypeSG getTypeSG(XSType pType,
XsQName pName)
throws SAXExceptionReturns a new instance of
TypeSG generating
the given type, as if it were a global type with the
given name.
getTypes
public TypeSG[] getTypes()
Returns an array of all types created by the factory.
newFacet
public Facet newFacet(XSType pType,
XSEnumeration[] pEnumerations)
throws SAXExceptionCreates a new enumeration facet.
newGroupSG
public GroupSG newGroupSG(XSGroup pGroup)
throws SAXExceptionCreates a new instance of
GroupSG generating the
given schema.
newObjectSG
public Object newObjectSG(XSAny any)
Creates a new instance of
ObjectSG generating the given
wildcard in the given context.
newObjectSG
public Object newObjectSG(XSElement pElement)
throws SAXExceptionCreates a new instance of
ObjectSG generating the
given element.
newObjectSG
public Object newObjectSG(XSElement pElement,
Context pContext)
throws SAXExceptionCreates a new instance of
ObjectSG generating the
given element in the given context.
newSchemaSG
public Object newSchemaSG(XSSchema pSchema)
throws SAXExceptionCreates a new instance of
SchemaSG generating the
given schema.
newTypeSG
public Object newTypeSG(XSType pType)
throws SAXExceptionCreates a new, global instance of
TypeSGChain
generating the given type.
Implementation note: The type
TypeSGChain
must not be exposed in the interface, because the interface
class is used to generate this type. In other words, this
interface must be compilable without the
TypeSGChain
interface.
newTypeSG
public Object newTypeSG(XSType pType,
Context pClassContext,
XsQName pName)
throws SAXExceptionCreates a new, local instance of
TypeSGChain,
generating the given type within the given
Context.
Implementation note: The type
TypeSGChain
must not be exposed in the interface, because the interface
class is used to generate this type. In other words, this
interface must be compilable without the
TypeSGChain
interface.
newTypeSG
public Object newTypeSG(XSType pType,
XsQName pName)
throws SAXExceptionCreates a new, local instance of
TypeSGChain,
as if it were a global type with the given name.
Implementation note: The type
TypeSGChain
must not be exposed in the interface, because the interface
class is used to generate this type. In other words, this
interface must be compilable without the
TypeSGChain
interface.
newXSObjectFactory
public XSObjectFactory newXSObjectFactory()
throws SAXException
newXSParser
public XSParser newXSParser()
throws SAXException
newXsObjectFactory
public XsObjectFactory newXsObjectFactory()
throws SAXException