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>
Modifier | Constructor and Description |
---|---|
protected |
XsEListImpl(XsObject pParent) |
Modifier and Type | Method and Description |
---|---|
XsTLocalSimpleType |
createSimpleType() |
XsQName |
getItemType() |
XsTLocalSimpleType |
getSimpleType() |
void |
setItemType(java.lang.String pItemType) |
void |
setItemType(XsQName pItemType) |
void |
validate()
Validates the internal state of the type, attribute, element,
or whatever object.
|
createAnnotation, getAnnotation, getId, setId
getOpenAttributes, setAttribute
asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAnnotation, getAnnotation, getId, setId
getOpenAttributes
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject
protected XsEListImpl(XsObject pParent)
public void setItemType(XsQName pItemType)
setItemType
in interface XsEList
public void setItemType(java.lang.String pItemType) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public XsQName getItemType()
getItemType
in interface XsEList
public XsTLocalSimpleType createSimpleType()
createSimpleType
in interface XsEList
public XsTLocalSimpleType getSimpleType()
getSimpleType
in interface XsEList
public void validate() throws org.xml.sax.SAXException
XsObject
validate
in interface XsObject
validate
in class XsObjectImpl
org.xml.sax.SAXException