org.apache.ws.jaxme.xs.xml
Interface XsTSimpleType

All Superinterfaces:
XsObject, XsTAnnotated, XsTOpenAttrs
All Known Subinterfaces:
XsETopLevelSimpleType, XsTLocalSimpleType
All 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.XsTAnnotated
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTOpenAttrs
getOpenAttributes
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
 

Method Detail

createRestriction

XsERestriction createRestriction()
                                 throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getRestriction

XsERestriction getRestriction()

createList

XsEList createList()
                   throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getList

XsEList getList()

createUnion

XsEUnion createUnion()
                     throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getUnion

XsEUnion getUnion()

setFinal

void setFinal(XsSimpleDerivationSet pSet)
              throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getFinal

XsSimpleDerivationSet getFinal()

setName

void setName(XsNCName pName)
             throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getName

XsNCName getName()