org.apache.ws.jaxme.xs.xml

Interface XsEList

All Superinterfaces:
XsObject, XsTAnnotated, XsTOpenAttrs
Known Implementing Classes:
XsEListImpl

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

XsTLocalSimpleType
createSimpleType()
XsQName
getItemType()
XsTLocalSimpleType
getSimpleType()
void
setItemType(XsQName pName)

Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsObject

getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate

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

Method Details

createSimpleType

public XsTLocalSimpleType createSimpleType()

getItemType

public XsQName getItemType()

getSimpleType

public XsTLocalSimpleType getSimpleType()

setItemType

public void setItemType(XsQName pName)