net.sf.jaxme.xs.xml
Interface XsEList

All Superinterfaces:
XsObject, XsTAnnotated
All 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 net.sf.jaxme.xs.xml.XsTAnnotated
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
 

Method Detail

setItemType

public void setItemType(XsQName pName)

getItemType

public XsQName getItemType()

createSimpleType

public XsTLocalSimpleType createSimpleType()

getSimpleType

public XsTLocalSimpleType getSimpleType()