org.apache.ws.jaxme.xs.xml

Interface XsTSimpleType

All Superinterfaces:
XsObject, XsTAnnotated, XsTOpenAttrs
Known Subinterfaces:
XsETopLevelSimpleType, XsTLocalSimpleType
Known Implementing Classes:
XsETopLevelSimpleTypeImpl, XsTLocalSimpleTypeImpl, XsTSimpleTypeImpl

public interface XsTSimpleType
extends XsTAnnotated

Interface of the following specification for xs:simpleType:
  <xs:complexType name="simpleType" abstract="true">
    <xs:complexContent>
      <xs:extension base="xs:annotated">
        <xs:group ref="xs:simpleDerivation"/>
        <xs:attribute name="final" type="xs:simpleDerivationSet"/>
        <xs:attribute name="name" type="xs:NCName">
          <xs:annotation>
            <xs:documentation>
              Can be restricted to required or forbidden
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

  <xs:group name="simpleDerivation">
    <xs:choice>
      <xs:element ref="xs:restriction"/>
      <xs:element ref="xs:list"/>
      <xs:element ref="xs:union"/>
    </xs:choice>
  </xs:group>
 
Author:
Jochen Wiedmann

Method Summary

XsEList
createList()
XsERestriction
createRestriction()
XsEUnion
createUnion()
XsSimpleDerivationSet
getFinal()
XsEList
getList()
XsNCName
getName()
XsERestriction
getRestriction()
XsEUnion
getUnion()
void
setFinal(XsSimpleDerivationSet pSet)
void
setName(XsNCName 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

createList

public XsEList createList()
            throws SAXException

createRestriction

public XsERestriction createRestriction()
            throws SAXException

createUnion

public XsEUnion createUnion()
            throws SAXException

getFinal

public XsSimpleDerivationSet getFinal()

getList

public XsEList getList()

getName

public XsNCName getName()

getRestriction

public XsERestriction getRestriction()

getUnion

public XsEUnion getUnion()

setFinal

public void setFinal(XsSimpleDerivationSet pSet)
            throws SAXException

setName

public void setName(XsNCName pName)
            throws SAXException