|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.xs.impl.XSModelGroupImpl
Nested Class Summary |
Nested classes inherited from class net.sf.jaxme.xs.XSModelGroup |
XSModelGroup.Compositor |
Field Summary |
Fields inherited from interface net.sf.jaxme.xs.XSModelGroup |
ALL, CHOICE, SEQUENCE |
Constructor Summary | |
XSModelGroupImpl(XSModelGroup.Compositor pCompositor,
org.xml.sax.Locator pLocator)
|
Method Summary | |
void |
addParticle(XSParticle pParticle)
|
XSModelGroup.Compositor |
getCompositor()
Returns the model groups compositor. |
org.xml.sax.Locator |
getLocator()
Returns the model groups locator. |
XSParticle[] |
getParticles()
Returns the model groups particles. |
boolean |
isAll()
Shortcut for getCompositor().equals(ALL) . |
boolean |
isChoice()
Shortcut for getCompositor().equals(CHOICE) . |
boolean |
isSequence()
Shortcut for getCompositor().equals(SEQUENCE) . |
void |
validate()
Validates the particles contents. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XSModelGroupImpl(XSModelGroup.Compositor pCompositor, org.xml.sax.Locator pLocator)
Method Detail |
public XSModelGroup.Compositor getCompositor()
XSModelGroup
Returns the model groups compositor.
getCompositor
in interface XSModelGroup
public boolean isSequence()
XSModelGroup
Shortcut for getCompositor().equals(SEQUENCE)
.
isSequence
in interface XSModelGroup
XSModelGroup.getCompositor()
,
XSModelGroup.SEQUENCE
public boolean isChoice()
XSModelGroup
Shortcut for getCompositor().equals(CHOICE)
.
isChoice
in interface XSModelGroup
XSModelGroup.getCompositor()
,
XSModelGroup.CHOICE
public boolean isAll()
XSModelGroup
Shortcut for getCompositor().equals(ALL)
.
isAll
in interface XSModelGroup
XSModelGroup.getCompositor()
,
XSModelGroup.ALL
public void addParticle(XSParticle pParticle) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public XSParticle[] getParticles()
XSModelGroup
Returns the model groups particles.
getParticles
in interface XSModelGroup
public void validate() throws org.xml.sax.SAXException
XSModelGroup
Validates the particles contents.
validate
in interface XSModelGroup
org.xml.sax.SAXException
public org.xml.sax.Locator getLocator()
XSModelGroup
Returns the model groups locator.
getLocator
in interface XSModelGroup
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |