org.apache.ws.jaxme.xs.xml

Interface XsTRealGroup

public interface XsTRealGroup extends XsTGroup

Interface 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