net.sf.jaxme.xs.xml.impl
Class XsTRealGroupImpl
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
net.sf.jaxme.xs.xml.impl.XsTRealGroupImpl
- All Implemented Interfaces:
- XsAGDefRef, XsAGOccurs, XsGParticle, XsObject, XsTAnnotated, XsTGroup, XsTOpenAttrs, XsTRealGroup
- Direct Known Subclasses:
- XsTGroupRefImpl
- public class XsTRealGroupImpl
- extends XsTGroupImpl
- implements XsTRealGroup
Implementation of the xs:realGroup
type, as specified
by the following:
<xs:complexType name="realGroup">
<xs:complexContent>
<xs:restriction base="xs:group">
<xs:sequence>
<xs:element ref="xs:annotation" minOccurs="0"/>
<xs:choice minOccurs="0" maxOccurs="1">
<xs:element ref="xs:all"/>
<xs:element ref="xs:choice"/>
<xs:element ref="xs:sequence"/>
</xs:choice>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
Implementation note: This interface does not define
any additional methods. However, the validate()
method must ensure, that either of xs:all
,
xs:choice
, or xs:sequence
is set.
- Author:
- Jochen Wiedmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XsTRealGroupImpl
protected XsTRealGroupImpl(XsObject pParent)
createGroup
public XsTGroupRef createGroup()
- Specified by:
createGroup
in interface XsGParticle
- Overrides:
createGroup
in class XsTGroupImpl
createAny
public XsEAny createAny()
- Specified by:
createAny
in interface XsGParticle
- Overrides:
createAny
in class XsTGroupImpl
createElement
public XsTLocalElement createElement()
- Specified by:
createElement
in interface XsGParticle
- Overrides:
createElement
in class XsTGroupImpl
createSequence
public XsESequence createSequence()
- Specified by:
createSequence
in interface XsGParticle
- Overrides:
createSequence
in class XsTGroupImpl
createChoice
public XsEChoice createChoice()
- Specified by:
createChoice
in interface XsGParticle
- Overrides:
createChoice
in class XsTGroupImpl
createAll
public XsTAll createAll()
- Specified by:
createAll
in interface XsGParticle
- Overrides:
createAll
in class XsTGroupImpl
validate
public void validate()
- Description copied from interface:
XsAGDefRef
Validates whether the attribute groups constraints are met.
- Specified by:
validate
in interface XsObject
- Overrides:
validate
in class XsObjectImpl