net.sf.jaxme.xs.xml.impl
Class XsEListImpl
java.lang.Object
net.sf.jaxme.xs.xml.impl.XsObjectImpl
net.sf.jaxme.xs.xml.impl.XsTOpenAttrsImpl
net.sf.jaxme.xs.xml.impl.XsTAnnotatedImpl
net.sf.jaxme.xs.xml.impl.XsEListImpl
- All Implemented Interfaces:
- XsEList, XsObject, XsTAnnotated, XsTOpenAttrs
- public class XsEListImpl
- extends XsTAnnotatedImpl
- implements XsEList
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XsEListImpl
protected XsEListImpl(XsObject pParent)
setItemType
public void setItemType(XsQName pItemType)
- Specified by:
setItemType
in interface XsEList
setItemType
public void setItemType(java.lang.String pItemType)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
getItemType
public XsQName getItemType()
- Specified by:
getItemType
in interface XsEList
createSimpleType
public XsTLocalSimpleType createSimpleType()
- Specified by:
createSimpleType
in interface XsEList
getSimpleType
public XsTLocalSimpleType getSimpleType()
- Specified by:
getSimpleType
in interface XsEList
validate
public void validate()
throws org.xml.sax.SAXException
- Description copied from interface:
XsObject
Validates the types, attributes, elements, ... internal state.
- Specified by:
validate
in interface XsObject
- Overrides:
validate
in class XsObjectImpl
- Throws:
org.xml.sax.SAXException