org.apache.ws.jaxme.xs
Interface XSModelGroup
- JAXBGroup, XSGroup
- JAXBGroupImpl, XSGroupImpl, XSModelGroupImpl
public interface XSModelGroup
Interface of a model group. A model group is, for example,
defined by an xs:group
element, or by a complex type
without simpleContent or complexContent.
getLocator
public Locator getLocator()
Returns the model groups locator.
getParticles
public XSParticle[] getParticles()
Returns the model groups particles.
isAll
public boolean isAll()
Shortcut for getCompositor().equals(ALL)
.
isChoice
public boolean isChoice()
Shortcut for getCompositor().equals(CHOICE)
.
isSequence
public boolean isSequence()
Shortcut for getCompositor().equals(SEQUENCE)
.
validate
public void validate()
throws SAXException
Validates the particles contents.