org.apache.ws.jaxme.xs.xml

Interface XsEList

public interface XsEList extends XsTAnnotated

Implementation of xs:list, following the specification below:

  <xs:element name="list" id="list">
    <xs:complexType>
      <xs:annotation>
        <xs:documentation
            source="http://www.w3.org/TR/xmlschema-2/#element-list">
          itemType attribute and simpleType child are mutually
          exclusive, but one or other is required
        </xs:documentation>
      </xs:annotation>
      <xs:complexContent>
        <xs:extension base="xs:annotated">
          <xs:sequence>
            <xs:element name="simpleType" type="xs:localSimpleType"
                minOccurs="0"/>
          </xs:sequence>
          <xs:attribute name="itemType" type="xs:QName" use="optional"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
 

Author: Jochen Wiedmann

Method Summary
XsTLocalSimpleTypecreateSimpleType()
XsQNamegetItemType()
XsTLocalSimpleTypegetSimpleType()
voidsetItemType(XsQName pName)

Method Detail

createSimpleType

public XsTLocalSimpleType createSimpleType()

getItemType

public XsQName getItemType()

getSimpleType

public XsTLocalSimpleType getSimpleType()

setItemType

public void setItemType(XsQName pName)