|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.xs.impl.XSModelGroupImpl
| Nested Class Summary |
| Nested classes inherited from class org.apache.ws.jaxme.xs.XSModelGroup |
XSModelGroup.Compositor |
| Field Summary |
| Fields inherited from interface org.apache.ws.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()
XSModelGroupReturns the model groups compositor.
getCompositor in interface XSModelGrouppublic boolean isSequence()
XSModelGroupShortcut for getCompositor().equals(SEQUENCE).
isSequence in interface XSModelGroupXSModelGroup.getCompositor(),
XSModelGroup.SEQUENCEpublic boolean isChoice()
XSModelGroupShortcut for getCompositor().equals(CHOICE).
isChoice in interface XSModelGroupXSModelGroup.getCompositor(),
XSModelGroup.CHOICEpublic boolean isAll()
XSModelGroupShortcut for getCompositor().equals(ALL).
isAll in interface XSModelGroupXSModelGroup.getCompositor(),
XSModelGroup.ALL
public void addParticle(XSParticle pParticle)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic XSParticle[] getParticles()
XSModelGroupReturns the model groups particles.
getParticles in interface XSModelGroup
public void validate()
throws org.xml.sax.SAXException
XSModelGroupValidates the particles contents.
validate in interface XSModelGrouporg.xml.sax.SAXExceptionpublic org.xml.sax.Locator getLocator()
XSModelGroupReturns the model groups locator.
getLocator in interface XSModelGroup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||