Interface of a factory for SG classes.
getGroupSG
public GroupSG getGroupSG(XSGroup pGroup)
throws SAXException
Returns 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 SAXException
Returns an instance of
ObjectSG
generating the given
wildcard in the given context.
getObjectSG
public ObjectSG getObjectSG(XSElement pElement)
throws SAXException
Returns an instance of
ObjectSG
generating the
given element.
getObjectSG
public ObjectSG getObjectSG(XSElement pElement,
Context pContext)
throws SAXException
Returns 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 SAXException
Returns an instance of
SchemaSG
generating the
given schema.
getTypes
public TypeSG[] getTypes()
Returns an array of all types created by the factory.
newFacet
public Facet newFacet(XSType pType,
XSEnumeration[] pEnumerations)
throws SAXException
Creates a new enumeration facet.
newGroupSG
public GroupSG newGroupSG(XSGroup pGroup)
throws SAXException
Creates 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 SAXException
Creates a new instance of
ObjectSG
generating the
given element.
newObjectSG
public Object newObjectSG(XSElement pElement,
Context pContext)
throws SAXException
Creates a new instance of
ObjectSG
generating the
given element in the given context.
newSchemaSG
public Object newSchemaSG(XSSchema pSchema)
throws SAXException
Creates a new instance of
SchemaSG
generating the
given schema.
newTypeSG
public Object newTypeSG(XSType pType,
Context pClassContext,
XsQName pName,
JAXBProperty.BaseType pBaseType)
throws SAXException
Creates 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,
JAXBProperty.BaseType pBaseType)
throws SAXException
Creates 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,
XsQName pName,
JAXBProperty.BaseType pBaseType)
throws SAXException
Creates 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