|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.jaxme.generator.sg.impl.GroupSGImpl
Constructor Summary | |
GroupSGImpl(GroupSGChain o)
|
Method Summary | |
void |
generate()
Generates the groups sources. |
void |
generateProperties(JavaSource p0)
Generates the groups set and get methods. |
void |
generateXMLHandlersElements(JavaSource p0,
DirectAccessible p1)
Generates the XML handlers methods for reading child elements. |
void |
generateXMLImplementationSubclasses(JavaSource p0)
Generates the XML implementations subclasses. |
void |
generateXMLInterfaceSubclasses(JavaSource p0)
Generates the XML interfaces subclasses. |
void |
generateXMLSerializersElements(JavaSource p0)
Generates the XML serializers methods that create child elements. |
Context |
getClassContext()
Returns the groups Context . |
SGFactory |
getFactory()
Returns the factory that created this item. |
GroupSGChain |
getHeadOfChain()
|
org.xml.sax.Locator |
getLocator()
Returns the items location in the schema; useful for error messages. |
ParticleSG[] |
getParticles()
Returns the groups particles. |
SchemaSG |
getSchema()
Returns the items schema. |
JavaSource |
getXMLImplementation()
Generates the groups implementation. |
JavaSource |
getXMLInterface()
Generates the groups interface. |
void |
init()
Initializes the item. |
boolean |
isAll()
Returns whether the groups compositor is "all". |
boolean |
isChoice()
Returns whether the groups compositor is "choice". |
boolean |
isGlobal()
Returns whether the group is global. |
boolean |
isSequence()
Returns whether the groups compositor is "sequence". |
java.lang.Object |
newParticleSG(XSParticle p0)
Creates a new instance of ParticleSGChain generating the
given particle. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GroupSGImpl(GroupSGChain o)
Method Detail |
public void generate() throws org.xml.sax.SAXException
GroupSG
Generates the groups sources.
generate
in interface GroupSG
org.xml.sax.SAXException
public Context getClassContext() throws org.xml.sax.SAXException
GroupSG
Returns the groups Context
.
getClassContext
in interface GroupSG
org.xml.sax.SAXException
public JavaSource getXMLInterface() throws org.xml.sax.SAXException
GroupSG
Generates the groups interface.
getXMLInterface
in interface GroupSG
org.xml.sax.SAXException
public JavaSource getXMLImplementation() throws org.xml.sax.SAXException
GroupSG
Generates the groups implementation.
getXMLImplementation
in interface GroupSG
org.xml.sax.SAXException
public boolean isGlobal()
GroupSG
Returns whether the group is global.
isGlobal
in interface GroupSG
public boolean isAll()
GroupSG
Returns whether the groups compositor is "all".
isAll
in interface GroupSG
public boolean isChoice()
GroupSG
Returns whether the groups compositor is "choice".
isChoice
in interface GroupSG
public boolean isSequence()
GroupSG
Returns whether the groups compositor is "sequence".
isSequence
in interface GroupSG
public void generateProperties(JavaSource p0) throws org.xml.sax.SAXException
GroupSG
Generates the groups set and get methods.
generateProperties
in interface GroupSG
org.xml.sax.SAXException
public void generateXMLInterfaceSubclasses(JavaSource p0) throws org.xml.sax.SAXException
GroupSG
Generates the XML interfaces subclasses.
generateXMLInterfaceSubclasses
in interface GroupSG
org.xml.sax.SAXException
public void generateXMLImplementationSubclasses(JavaSource p0) throws org.xml.sax.SAXException
GroupSG
Generates the XML implementations subclasses.
generateXMLImplementationSubclasses
in interface GroupSG
org.xml.sax.SAXException
public void generateXMLHandlersElements(JavaSource p0, DirectAccessible p1) throws org.xml.sax.SAXException
GroupSG
Generates the XML handlers methods for reading child elements.
generateXMLHandlersElements
in interface GroupSG
org.xml.sax.SAXException
public void generateXMLSerializersElements(JavaSource p0) throws org.xml.sax.SAXException
GroupSG
Generates the XML serializers methods that create child elements.
generateXMLSerializersElements
in interface GroupSG
org.xml.sax.SAXException
public ParticleSG[] getParticles() throws org.xml.sax.SAXException
GroupSG
Returns the groups particles.
getParticles
in interface GroupSG
org.xml.sax.SAXException
public java.lang.Object newParticleSG(XSParticle p0) throws org.xml.sax.SAXException
GroupSG
Creates a new instance of
ParticleSGChain
generating the
given particle.
Implementation note: The type
ParticleSGChain
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
ParticleSGChain
interface.
newParticleSG
in interface GroupSG
org.xml.sax.SAXException
public void init() throws org.xml.sax.SAXException
SGItem
Initializes the item.
init
in interface SGItem
org.xml.sax.SAXException
public org.xml.sax.Locator getLocator()
SGItem
Returns the items location in the schema; useful for error messages.
getLocator
in interface SGItem
public SchemaSG getSchema()
SGItem
Returns the items schema.
getSchema
in interface SGItem
public SGFactory getFactory()
SGItem
Returns the factory that created this item.
getFactory
in interface SGItem
public GroupSGChain getHeadOfChain()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |