org.apache.ws.jaxme.generator.sg
public interface SGFactory
Interface of a factory for SG classes.
Method Summary | |
---|---|
Generator | getGenerator() Returns the Generator. |
GroupSG[] | getGroups() Returns an array of all groups created by the factory. |
GroupSG | getGroupSG(XSGroup pGroup) Returns an instance of GroupSG generating the given schema. |
GroupSG | getGroupSG(XSGroup pGroup, Context pClassContext) |
ObjectSG[] | getObjects() Returns an array of all objects created by the factory. |
ObjectSG | getObjectSG(XSElement pElement) Returns an instance of ObjectSG generating the given element. |
ObjectSG | getObjectSG(XSElement pElement, Context pContext) Returns an instance of ObjectSG generating the given element in the given context. |
ObjectSG | getObjectSG(XSAny pWildcard, Context pContext) Returns an instance of ObjectSG generating the given wildcard in the given context. |
SchemaSG | getSchemaSG(XSSchema pSchema) Returns an instance of SchemaSG generating the given schema. |
SchemaSG | getSchemaSG() Returns the factorys instance of SchemaSG. |
TypeSG[] | getTypes() Returns an array of all types created by the factory. |
TypeSG | getTypeSG(XSType pType, JAXBProperty.BaseType pBaseType) Returns a global instance of TypeSG generating the given type. |
TypeSG | getTypeSG(XSType pType, Context pClassContext, XsQName pName, JAXBProperty.BaseType pBaseType) |
TypeSG | getTypeSG(XSType pType, XsQName pName, JAXBProperty.BaseType pBaseType) Returns a new instance of TypeSG generating the given type, as if it were a global type with the given name. |
void | init() Initializes the SGFactory. |
Facet | newFacet(XSType pType, XSEnumeration[] pEnumerations) Creates a new enumeration facet. |
GroupSG | newGroupSG(XSGroup pGroup) Creates a new instance of GroupSG generating the given schema. |
GroupSG | newGroupSG(XSGroup pGroup, Context pClassContext) |
Object | newObjectSG(XSElement pElement) Creates a new instance of ObjectSG generating the given element. |
Object | newObjectSG(XSElement pElement, Context pContext) Creates a new instance of ObjectSG generating the given element in the given context. |
Object | newObjectSG(XSAny any) Creates a new instance of ObjectSG generating the given wildcard in the given context. |
Object | newSchemaSG(XSSchema pSchema) Creates a new instance of SchemaSG generating the given schema. |
Object | newTypeSG(XSType pType, JAXBProperty.BaseType pBaseType) Creates a new, global instance of org.apache.ws.jaxme.generator.sg.TypeSGChain generating the given type. Implementation note: The type org.apache.ws.jaxme.generator.sg.TypeSGChain must not be exposed in the interface, because the interface class is used to generate this type. |
Object | newTypeSG(XSType pType, Context pClassContext, XsQName pName, JAXBProperty.BaseType pBaseType) Creates a new, local instance of org.apache.ws.jaxme.generator.sg.TypeSGChain, generating the given type within the given Context. |
Object | newTypeSG(XSType pType, XsQName pName, JAXBProperty.BaseType pBaseType) Creates a new, local instance of org.apache.ws.jaxme.generator.sg.TypeSGChain, as if it were a global type with the given name. Implementation note: The type org.apache.ws.jaxme.generator.sg.TypeSGChain must not be exposed in the interface, because the interface class is used to generate this type. |
XsObjectFactory | newXsObjectFactory() Creates a new instance of XsObjectFactory, used by the parser. |
XSObjectFactory | newXSObjectFactory() Creates a new instance of XSObjectFactory, used by the parser. |
XSParser | newXSParser() Creates a new instance of XSParser. |
Returns the Generator.
Returns an array of all groups created by the factory.
Returns an instance of GroupSG generating the given schema.
Returns an array of all objects created by the factory.
Returns an instance of ObjectSG generating the given element.
Returns an instance of ObjectSG generating the given element in the given context.
Returns an instance of ObjectSG generating the given wildcard in the given context.
Returns an instance of SchemaSG generating the given schema.
Returns the factorys instance of SchemaSG.
Throws: IllegalStateException The factory has not yet created an instance of SchemaSG. In other words, the methods newSchemaSG and getSchemaSG have not yet been invoked.
Returns an array of all types created by the factory.
Returns a global instance of TypeSG generating the given type.
Returns a new instance of TypeSG generating the given type, as if it were a global type with the given name.
Initializes the SGFactory.
Creates a new enumeration facet.
Creates a new instance of GroupSG generating the given schema.
Creates a new instance of ObjectSG generating the given element.
Creates a new instance of ObjectSG generating the given element in the given context.
Creates a new instance of ObjectSG generating the given wildcard in the given context.
Creates a new instance of SchemaSG generating the given schema.
Creates a new, global instance of org.apache.ws.jaxme.generator.sg.TypeSGChain generating the given type.
Implementation note: The type org.apache.ws.jaxme.generator.sg.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 org.apache.ws.jaxme.generator.sg.TypeSGChain interface.
Creates a new, local instance of org.apache.ws.jaxme.generator.sg.TypeSGChain, generating the given type within the given Context.
Implementation note: The type org.apache.ws.jaxme.generator.sg.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 org.apache.ws.jaxme.generator.sg.TypeSGChain interface.
Creates a new, local instance of org.apache.ws.jaxme.generator.sg.TypeSGChain, as if it were a global type with the given name.
Implementation note: The type org.apache.ws.jaxme.generator.sg.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 org.apache.ws.jaxme.generator.sg.TypeSGChain interface.
Creates a new instance of XsObjectFactory, used by the parser.
Creates a new instance of XSObjectFactory, used by the parser.
Creates a new instance of XSParser.