|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface of a source generator for model groups.
Method Summary | |
void |
generate()
Generates the groups sources. |
void |
generateProperties(JavaSource pSource)
Generates the groups set and get methods. |
void |
generateXMLHandlersElements(JavaSource pSource,
DirectAccessible pLevelVar)
Generates the XML handlers methods for reading child elements. |
void |
generateXMLImplementationSubclasses(JavaSource pSource)
Generates the XML implementations subclasses. |
void |
generateXMLInterfaceSubclasses(JavaSource pSource)
Generates the XML interfaces subclasses. |
void |
generateXMLSerializersElements(JavaSource pSource)
Generates the XML serializers methods that create child elements. |
Context |
getClassContext()
Returns the groups Context . |
ParticleSG[] |
getParticles()
Returns the groups particles. |
JavaSource |
getXMLImplementation()
Generates the groups implementation. |
JavaSource |
getXMLInterface()
Generates the groups interface. |
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 pParticle)
Creates a new instance of ParticleSGChain generating the
given particle. |
Methods inherited from interface org.apache.ws.jaxme.generator.sg.SGItem |
getFactory, getLocator, getSchema, init |
Method Detail |
public boolean isGlobal()
Returns whether the group is global.
public boolean isAll()
Returns whether the groups compositor is "all".
public boolean isChoice()
Returns whether the groups compositor is "choice".
public boolean isSequence()
Returns whether the groups compositor is "sequence".
public Context getClassContext() throws org.xml.sax.SAXException
Returns the groups Context
.
org.xml.sax.SAXException
public JavaSource getXMLInterface() throws org.xml.sax.SAXException
Generates the groups interface.
org.xml.sax.SAXException
public JavaSource getXMLImplementation() throws org.xml.sax.SAXException
Generates the groups implementation.
org.xml.sax.SAXException
public void generateProperties(JavaSource pSource) throws org.xml.sax.SAXException
Generates the groups set and get methods.
org.xml.sax.SAXException
public void generateXMLInterfaceSubclasses(JavaSource pSource) throws org.xml.sax.SAXException
Generates the XML interfaces subclasses.
org.xml.sax.SAXException
public void generateXMLImplementationSubclasses(JavaSource pSource) throws org.xml.sax.SAXException
Generates the XML implementations subclasses.
org.xml.sax.SAXException
public void generateXMLHandlersElements(JavaSource pSource, DirectAccessible pLevelVar) throws org.xml.sax.SAXException
Generates the XML handlers methods for reading child elements.
org.xml.sax.SAXException
public void generateXMLSerializersElements(JavaSource pSource) throws org.xml.sax.SAXException
Generates the XML serializers methods that create child elements.
org.xml.sax.SAXException
public void generate() throws org.xml.sax.SAXException
Generates the groups sources.
org.xml.sax.SAXException
public ParticleSG[] getParticles() throws org.xml.sax.SAXException
Returns the groups particles.
org.xml.sax.SAXException
public java.lang.Object newParticleSG(XSParticle pParticle) throws org.xml.sax.SAXException
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.
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |