|
||||||||||
| 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 JavaSource getXMLInterface()
throws org.xml.sax.SAXException
GroupSGGenerates the groups interface.
getXMLInterface in interface GroupSGorg.xml.sax.SAXException
public JavaSource getXMLImplementation()
throws org.xml.sax.SAXException
GroupSGGenerates the groups implementation.
getXMLImplementation in interface GroupSGorg.xml.sax.SAXExceptionpublic boolean isGlobal()
GroupSGReturns whether the group is global.
isGlobal in interface GroupSGpublic boolean isAll()
GroupSGReturns whether the groups compositor is "all".
isAll in interface GroupSGpublic boolean isChoice()
GroupSGReturns whether the groups compositor is "choice".
isChoice in interface GroupSGpublic boolean isSequence()
GroupSGReturns whether the groups compositor is "sequence".
isSequence in interface GroupSG
public void generateProperties(JavaSource p0)
throws org.xml.sax.SAXException
GroupSGGenerates the groups set and get methods.
generateProperties in interface GroupSGorg.xml.sax.SAXException
public void generateXMLInterfaceSubclasses(JavaSource p0)
throws org.xml.sax.SAXException
GroupSGGenerates the XML interfaces subclasses.
generateXMLInterfaceSubclasses in interface GroupSGorg.xml.sax.SAXException
public void generateXMLImplementationSubclasses(JavaSource p0)
throws org.xml.sax.SAXException
GroupSGGenerates the XML implementations subclasses.
generateXMLImplementationSubclasses in interface GroupSGorg.xml.sax.SAXException
public void generateXMLHandlersElements(JavaSource p0,
DirectAccessible p1)
throws org.xml.sax.SAXException
GroupSGGenerates the XML handlers methods for reading child elements.
generateXMLHandlersElements in interface GroupSGorg.xml.sax.SAXException
public void generateXMLSerializersElements(JavaSource p0)
throws org.xml.sax.SAXException
GroupSGGenerates the XML serializers methods that create child elements.
generateXMLSerializersElements in interface GroupSGorg.xml.sax.SAXExceptionpublic ParticleSG[] getParticles()
GroupSGReturns the groups particles.
getParticles in interface GroupSG
public java.lang.Object newParticleSG(XSParticle p0)
throws org.xml.sax.SAXException
GroupSGCreates 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 GroupSGorg.xml.sax.SAXException
public void generate()
throws org.xml.sax.SAXException
GroupSGGenerates the groups sources.
generate in interface GroupSGorg.xml.sax.SAXException
public Context getClassContext()
throws org.xml.sax.SAXException
GroupSGReturns the groups Context.
getClassContext in interface GroupSGorg.xml.sax.SAXExceptionpublic org.xml.sax.Locator getLocator()
SGItemReturns the items location in the schema; useful for error messages.
getLocator in interface SGItempublic SchemaSG getSchema()
SGItemReturns the items schema.
getSchema in interface SGItem
public void init()
throws org.xml.sax.SAXException
SGItemInitializes the item.
init in interface SGItemorg.xml.sax.SAXExceptionpublic SGFactory getFactory()
SGItemReturns the factory that created this item.
getFactory in interface SGItempublic GroupSGChain getHeadOfChain()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||