|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroupSG
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 |
---|
boolean isGlobal()
Returns whether the group is global.
boolean isAll()
Returns whether the groups compositor is "all".
boolean isChoice()
Returns whether the groups compositor is "choice".
boolean isSequence()
Returns whether the groups compositor is "sequence".
Context getClassContext() throws org.xml.sax.SAXException
Returns the groups Context
.
org.xml.sax.SAXException
JavaSource getXMLInterface() throws org.xml.sax.SAXException
Generates the groups interface.
org.xml.sax.SAXException
JavaSource getXMLImplementation() throws org.xml.sax.SAXException
Generates the groups implementation.
org.xml.sax.SAXException
void generateProperties(JavaSource pSource) throws org.xml.sax.SAXException
Generates the groups set and get methods.
org.xml.sax.SAXException
void generateXMLInterfaceSubclasses(JavaSource pSource) throws org.xml.sax.SAXException
Generates the XML interfaces subclasses.
org.xml.sax.SAXException
void generateXMLImplementationSubclasses(JavaSource pSource) throws org.xml.sax.SAXException
Generates the XML implementations subclasses.
org.xml.sax.SAXException
void generateXMLHandlersElements(JavaSource pSource, DirectAccessible pLevelVar) throws org.xml.sax.SAXException
Generates the XML handlers methods for reading child elements.
org.xml.sax.SAXException
void generateXMLSerializersElements(JavaSource pSource) throws org.xml.sax.SAXException
Generates the XML serializers methods that create child elements.
org.xml.sax.SAXException
void generate() throws org.xml.sax.SAXException
Generates the groups sources.
org.xml.sax.SAXException
ParticleSG[] getParticles()
Returns the groups particles.
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 |