|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.xs.impl.XSObjectImpl net.sf.jaxme.xs.impl.XSGroupImpl
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 | |
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 objects internal state. |
Methods inherited from class net.sf.jaxme.xs.impl.XSObjectImpl |
getLocator, getParentObject, getXsObject, getXSSchema, isTopLevelObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jaxme.xs.XSObject |
getLocator, getParentObject, getXSSchema, isTopLevelObject |
Methods inherited from interface net.sf.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.SAXException
public boolean isGlobal()
XSGroup
Returns whether the group is global or not.
isGlobal
in interface XSGroup
public void setGlobal(boolean pGlobal)
XSGroup
Sets whether the group is global or not.
setGlobal
in interface XSGroup
public XsQName getName()
XSGroup
If the group is global: Returns the groups name. Otherwise returns null.
getName
in interface XSGroup
protected boolean isValidated()
public void validate() throws org.xml.sax.SAXException
XSObject
Validates the objects internal state.
validate
in interface XSObject
validate
in class XSObjectImpl
org.xml.sax.SAXException
public XSModelGroup.Compositor getCompositor()
XSModelGroup
Returns the model groups compositor.
getCompositor
in interface XSModelGroup
public XSParticle[] getParticles()
XSModelGroup
Returns the model groups particles.
getParticles
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 XSAnnotation[] getAnnotations()
XSGroup
Returns the array of annotations.
getAnnotations
in interface XSGroup
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |