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

Class XsTRealGroupImpl

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
protected XsTRealGroupImpl(XsObject pParent)
Method Summary
XsTAllcreateAll()
XsEAnycreateAny()
XsEChoicecreateChoice()
XsTLocalElementcreateElement()
XsTGroupRefcreateGroup()
XsESequencecreateSequence()
voidvalidate()

Constructor Detail

XsTRealGroupImpl

protected XsTRealGroupImpl(XsObject pParent)

Method Detail

createAll

public XsTAll createAll()

createAny

public XsEAny createAny()

createChoice

public XsEChoice createChoice()

createElement

public XsTLocalElement createElement()

createGroup

public XsTGroupRef createGroup()

createSequence

public XsESequence createSequence()

validate

public void validate()