|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.xs.impl.XSObjectImpl
org.apache.ws.jaxme.xs.impl.XSOpenAttrsImpl
org.apache.ws.jaxme.xs.impl.XSGroupImpl
| 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 | |
protected |
XSGroupImpl(XSObject pParent,
XsEChoice pChoice)
|
protected |
XSGroupImpl(XSObject pParent,
XsESequence pSequence)
|
protected |
XSGroupImpl(XSObject pParent,
XsTAll pAll)
|
protected |
XSGroupImpl(XSObject pParent,
XsTGroupRef pBaseGroup)
|
protected |
XSGroupImpl(XSObject pParent,
XsTNamedGroup pBaseGroup)
|
| Method Summary | |
protected void |
addParticle(XSModelGroupImpl pModelGroup,
XsTNestedParticle pParticle)
|
protected void |
addParticle(XSModelGroupImpl pModelGroup,
XsTParticle pParticle)
|
XSAnnotation[] |
getAnnotations()
Returns the array of annotations. |
XSModelGroup.Compositor |
getCompositor()
Returns the model groups compositor. |
XsQName |
getName()
If the group is global: Returns the groups name. |
XSParticle[] |
getParticles()
Returns the model groups particles. |
protected XsQName |
getQName(XsNCName pName)
|
protected void |
initParticles(XSModelGroupImpl pModelGroup,
XsTNestedParticle[] pParticles)
|
protected void |
initParticles(XSModelGroupImpl pModelGroup,
XsTParticle[] pParticles)
|
boolean |
isAll()
Shortcut for getCompositor().equals(ALL). |
boolean |
isChoice()
Shortcut for getCompositor().equals(CHOICE). |
boolean |
isGlobal()
Returns whether the group is global or not. |
boolean |
isSequence()
Shortcut for getCompositor().equals(SEQUENCE). |
protected boolean |
isValidated()
|
void |
setGlobal(boolean pGlobal)
Sets whether the group is global or not. |
void |
validate()
Validates the particles contents. |
| Methods inherited from class org.apache.ws.jaxme.xs.impl.XSOpenAttrsImpl |
getOpenAttributes |
| Methods inherited from class org.apache.ws.jaxme.xs.impl.XSObjectImpl |
getLocator, getParentObject, getXsObject, getXSSchema, isTopLevelObject, validateAllIn |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.ws.jaxme.xs.XSOpenAttrs |
getOpenAttributes |
| Methods inherited from interface org.apache.ws.jaxme.xs.XSObject |
getLocator, getParentObject, getXSSchema, isTopLevelObject |
| Methods inherited from interface org.apache.ws.jaxme.xs.XSModelGroup |
getLocator |
| Constructor Detail |
protected XSGroupImpl(XSObject pParent,
XsTGroupRef pBaseGroup)
throws org.xml.sax.SAXException
protected XSGroupImpl(XSObject pParent,
XsTNamedGroup pBaseGroup)
throws org.xml.sax.SAXException
protected XSGroupImpl(XSObject pParent,
XsEChoice pChoice)
throws org.xml.sax.SAXException
protected XSGroupImpl(XSObject pParent,
XsESequence pSequence)
throws org.xml.sax.SAXException
protected XSGroupImpl(XSObject pParent,
XsTAll pAll)
throws org.xml.sax.SAXException
| Method Detail |
protected XsQName getQName(XsNCName pName)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void initParticles(XSModelGroupImpl pModelGroup,
XsTNestedParticle[] pParticles)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void initParticles(XSModelGroupImpl pModelGroup,
XsTParticle[] pParticles)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void addParticle(XSModelGroupImpl pModelGroup,
XsTParticle pParticle)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void addParticle(XSModelGroupImpl pModelGroup,
XsTNestedParticle pParticle)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic boolean isGlobal()
XSGroupReturns whether the group is global or not.
isGlobal in interface XSGrouppublic void setGlobal(boolean pGlobal)
XSGroupSets whether the group is global or not.
setGlobal in interface XSGrouppublic XsQName getName()
XSGroupIf the group is global: Returns the groups name. Otherwise returns null.
getName in interface XSGroupprotected boolean isValidated()
public void validate()
throws org.xml.sax.SAXException
XSModelGroupValidates the particles contents.
validate in interface XSObjectvalidate in class XSObjectImplorg.xml.sax.SAXExceptionpublic XSModelGroup.Compositor getCompositor()
XSModelGroupReturns the model groups compositor.
getCompositor in interface XSModelGrouppublic XSParticle[] getParticles()
XSModelGroupReturns the model groups particles.
getParticles 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.ALLpublic XSAnnotation[] getAnnotations()
XSGroupReturns the array of annotations.
getAnnotations in interface XSGroup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||