public class XsTGroupImpl extends XsTAnnotatedImpl implements XsTGroup
Implementation of the xs:group
, type, with the
following specification:
<xs:complexType name="group" abstract="true"> <xs:annotation> <xs:documentation> group type for explicit groups, named top-level groups and group references </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="xs:annotated"> <xs:group ref="xs:particle" minOccurs="0" maxOccurs="unbounded"/> <xs:attributeGroup ref="xs:defRef"/> <xs:attributeGroup ref="xs:occurs"/> </xs:extension> </xs:complexContent> </xs:complexType>
Modifier | Constructor and Description |
---|---|
protected |
XsTGroupImpl(XsObject pParent) |
Modifier and Type | Method and Description |
---|---|
XsTAll |
createAll() |
XsEAny |
createAny() |
XsEChoice |
createChoice() |
XsTLocalElement |
createElement() |
XsTGroupRef |
createGroup() |
XsESequence |
createSequence() |
int |
getMaxOccurs()
-1 for 'unbounded'
|
int |
getMinOccurs() |
XsNCName |
getName() |
XsTParticle[] |
getParticles() |
XsQName |
getRef() |
void |
setMaxOccurs(java.lang.String pMaxOccurs)
Either of 'unbounded' or a nonnegative integer value.
|
void |
setMinOccurs(int pMinOccurs) |
void |
setName(XsNCName pName) |
void |
setRef(java.lang.String pRef) |
void |
setRef(XsQName pRef) |
createAnnotation, getAnnotation, getId, setId
getOpenAttributes, setAttribute
asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAnnotation, getAnnotation, getId, setId
getOpenAttributes
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
validate
validate
protected XsTGroupImpl(XsObject pParent)
public void setName(XsNCName pName)
setName
in interface XsAGDefRef
public XsNCName getName()
getName
in interface XsAGDefRef
public void setRef(XsQName pRef)
setRef
in interface XsAGDefRef
public void setRef(java.lang.String pRef) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public XsQName getRef()
getRef
in interface XsAGDefRef
public void setMaxOccurs(java.lang.String pMaxOccurs)
XsAGOccurs
Either of 'unbounded' or a nonnegative integer value.
setMaxOccurs
in interface XsAGOccurs
public int getMaxOccurs()
XsAGOccurs
-1 for 'unbounded'
getMaxOccurs
in interface XsAGOccurs
public void setMinOccurs(int pMinOccurs)
setMinOccurs
in interface XsAGOccurs
public int getMinOccurs()
getMinOccurs
in interface XsAGOccurs
public XsTLocalElement createElement()
createElement
in interface XsGParticle
public XsTGroupRef createGroup()
createGroup
in interface XsGParticle
public XsTAll createAll()
createAll
in interface XsGParticle
public XsESequence createSequence()
createSequence
in interface XsGParticle
public XsEChoice createChoice()
createChoice
in interface XsGParticle
public XsEAny createAny()
createAny
in interface XsGParticle
public XsTParticle[] getParticles()
getParticles
in interface XsGParticle