org.apache.ws.jaxme.xs.xml.impl

Class XsTRealGroupImpl

Implemented Interfaces:
XsAGDefRef, XsAGOccurs, XsGParticle, XsObject, XsTAnnotated, XsTGroup, XsTOpenAttrs, XsTRealGroup
Known Direct 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

Constructor Summary

XsTRealGroupImpl(XsObject pParent)

Method Summary

XsTAll
createAll()
XsEAny
createAny()
XsEChoice
createChoice()
XsTLocalElement
createElement()
XsTGroupRef
createGroup()
XsESequence
createSequence()
void
validate()
Validates the internal state of the type, attribute, element, or whatever object.

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTGroupImpl

createAll, createAny, createChoice, createElement, createGroup, createSequence, getMaxOccurs, getMinOccurs, getName, getParticles, getRef, setMaxOccurs, setMinOccurs, setName, setRef, setRef

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl

createAnnotation, getAnnotation, getId, setId

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl

getOpenAttributes, setAttribute

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl

asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validate

Constructor Details

XsTRealGroupImpl

protected XsTRealGroupImpl(XsObject pParent)

Method Details

createAll

public XsTAll createAll()
Specified by:
createAll in interface XsGParticle
Overrides:
createAll in interface XsTGroupImpl

createAny

public XsEAny createAny()
Specified by:
createAny in interface XsGParticle
Overrides:
createAny in interface XsTGroupImpl

createChoice

public XsEChoice createChoice()
Specified by:
createChoice in interface XsGParticle
Overrides:
createChoice in interface XsTGroupImpl

createElement

public XsTLocalElement createElement()
Specified by:
createElement in interface XsGParticle
Overrides:
createElement in interface XsTGroupImpl

createGroup

public XsTGroupRef createGroup()
Specified by:
createGroup in interface XsGParticle
Overrides:
createGroup in interface XsTGroupImpl

createSequence

public XsESequence createSequence()
Specified by:
createSequence in interface XsGParticle
Overrides:
createSequence in interface XsTGroupImpl

validate

public void validate()
Validates the internal state of the type, attribute, element, or whatever object.
Specified by:
validate in interface XsObject
validate in interface XsAGDefRef
validate in interface XsAGOccurs
Overrides:
validate in interface XsObjectImpl