net.sf.jaxme.xs.xml.impl
Class XsTGroupImpl
java.lang.Object
net.sf.jaxme.xs.xml.impl.XsObjectImpl
net.sf.jaxme.xs.xml.impl.XsTOpenAttrsImpl
net.sf.jaxme.xs.xml.impl.XsTAnnotatedImpl
net.sf.jaxme.xs.xml.impl.XsTGroupImpl
- All Implemented Interfaces:
- XsAGDefRef, XsAGOccurs, XsGParticle, XsObject, XsTAnnotated, XsTGroup, XsTOpenAttrs
- Direct Known Subclasses:
- XsTExplicitGroupImpl, XsTRealGroupImpl
- 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>
- Author:
- Jochen Wiedmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XsTGroupImpl
protected XsTGroupImpl(XsObject pParent)
setName
public void setName(XsNCName pName)
- Specified by:
setName
in interface XsAGDefRef
getName
public XsNCName getName()
- Specified by:
getName
in interface XsAGDefRef
setRef
public void setRef(XsQName pRef)
- Specified by:
setRef
in interface XsAGDefRef
setRef
public void setRef(java.lang.String pRef)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
getRef
public XsQName getRef()
- Specified by:
getRef
in interface XsAGDefRef
setMaxOccurs
public void setMaxOccurs(java.lang.String pMaxOccurs)
- Description copied from interface:
XsAGOccurs
Either of 'unbounded' or a nonnegative integer value.
- Specified by:
setMaxOccurs
in interface XsAGOccurs
getMaxOccurs
public int getMaxOccurs()
- Description copied from interface:
XsAGOccurs
-1 for 'unbounded'
- Specified by:
getMaxOccurs
in interface XsAGOccurs
setMinOccurs
public void setMinOccurs(int pMinOccurs)
- Specified by:
setMinOccurs
in interface XsAGOccurs
getMinOccurs
public int getMinOccurs()
- Specified by:
getMinOccurs
in interface XsAGOccurs
createElement
public XsTLocalElement createElement()
- Specified by:
createElement
in interface XsGParticle
createGroup
public XsTGroupRef createGroup()
- Specified by:
createGroup
in interface XsGParticle
createAll
public XsTAll createAll()
- Specified by:
createAll
in interface XsGParticle
createSequence
public XsESequence createSequence()
- Specified by:
createSequence
in interface XsGParticle
createChoice
public XsEChoice createChoice()
- Specified by:
createChoice
in interface XsGParticle
createAny
public XsEAny createAny()
- Specified by:
createAny
in interface XsGParticle
getParticles
public XsTParticle[] getParticles()
- Specified by:
getParticles
in interface XsGParticle