org.apache.ws.jaxme.xs.xml
Interface XsTNamedGroup

All Superinterfaces:
XsObject, XsRedefinable, XsTAnnotated, XsTOpenAttrs
All Known Implementing Classes:
XsTNamedGroupImpl

public interface XsTNamedGroup
extends XsTAnnotated, XsRedefinable

Interface of a named top-level group, with the following specification:

  <xs:complexType name="namedGroup">
    <xs:annotation>
      <xs:documentation>
        Should derive this from realGroup, but too complicated for now
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element ref="xs:annotation" minOccurs="0"/>
      <xs:choice minOccurs="1" maxOccurs="1">
        <xs:element name="all">
          <xs:complexType>
            <xs:complexContent>
              <xs:restriction base="xs:all">
                <xs:group ref="xs:allModel"/>
                <xs:attribute name="minOccurs" use="prohibited"/>
                <xs:attribute name="maxOccurs" use="prohibited"/>
              </xs:restriction>
            </xs:complexContent>
          </xs:complexType>
        </xs:element>
        <xs:element name="choice" type="xs:simpleExplicitGroup"/>
        <xs:element name="sequence" type="xs:simpleExplicitGroup"/>
      </xs:choice>
    </xs:sequence>
    <xs:attribute name="name" use="required" type="xs:NCName"/>
    <xs:attribute name="ref" use="prohibited"/>
    <xs:attribute name="minOccurs" use="prohibited"/>
    <xs:attribute name="maxOccurs" use="prohibited"/>
  </xs:complexType>
 </pre></p>

Author:
Jochen Wiedmann

Method Summary
 XsGAllModel createAll()
           
 XsTSimpleExplicitGroup createChoice()
           
 XsTSimpleExplicitGroup createSequence()
           
 XsGAllModel getAll()
           
 XsTSimpleExplicitGroup getChoice()
           
 XsNCName getName()
           
 XsTSimpleExplicitGroup getSequence()
           
 void setName(XsNCName pName)
           
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTAnnotated
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTOpenAttrs
getOpenAttributes
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
 

Method Detail

setName

public void setName(XsNCName pName)

getName

public XsNCName getName()

createAll

public XsGAllModel createAll()

getAll

public XsGAllModel getAll()

createSequence

public XsTSimpleExplicitGroup createSequence()

getSequence

public XsTSimpleExplicitGroup getSequence()

createChoice

public XsTSimpleExplicitGroup createChoice()

getChoice

public XsTSimpleExplicitGroup getChoice()