org.apache.ws.jaxme.xs.xml.impl

Class XsETopLevelSimpleTypeImpl

Implemented Interfaces:
XsETopLevelSimpleType, XsObject, XsRedefinable, XsTAnnotated, XsTOpenAttrs, XsTSimpleType

public class XsETopLevelSimpleTypeImpl
extends XsTSimpleTypeImpl
implements XsETopLevelSimpleType

Implementation of xs:simpleType>, as specified by the following:
  <xs:element name="simpleType" type="xs:topLevelSimpleType" id="simpleType">
    <xs:annotation>
      <xs:documentation
        source="http://www.w3.org/TR/xmlschema-2/#element-simpleType"/>
    </xs:annotation>
  </xs:element>

  <xs:complexType name="topLevelSimpleType">
    <xs:complexContent>
      <xs:restriction base="xs:simpleType">
        <xs:sequence>
          <xs:element ref="xs:annotation" minOccurs="0"/>
          <xs:group ref="xs:simpleDerivation"/>
        </xs:sequence>
        <xs:attribute name="name" use="required" type="xs:NCName">
          <xs:annotation>
            <xs:documentation>
              Required at the top level
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
 
Author:
Jochen Wiedmann

Constructor Summary

XsETopLevelSimpleTypeImpl(XsObject pParent)

Method Summary

void
validate()
Validates the internal state of the type, attribute, element, or whatever object.

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTSimpleTypeImpl

createList, createRestriction, createUnion, getFinal, getList, getName, getRestriction, getUnion, setFinal, setName, validate

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl

createAnnotation, getAnnotation, getId, setId

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl

getOpenAttributes, setAttribute

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl

asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validate

Constructor Details

XsETopLevelSimpleTypeImpl

protected XsETopLevelSimpleTypeImpl(XsObject pParent)

Method Details

validate

public void validate()
            throws SAXException
Validates the internal state of the type, attribute, element, or whatever object.
Specified by:
validate in interface XsObject
Overrides:
validate in interface XsTSimpleTypeImpl