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

Class XsTLocalSimpleTypeImpl

public class XsTLocalSimpleTypeImpl extends XsTSimpleTypeImpl implements XsTLocalSimpleType

Implementation of the xs:localSimpleType type, as specified by the following:

  <xs:complexType name="localSimpleType">
    <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="prohibited">
          <xs:annotation>
            <xs:documentation>
              Forbidden when nested
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="final" use="prohibited"/>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
 

Implementation note: The implementation must ensure, that the 'final' and 'name' attributes aren't set.

Author: Jochen Wiedmann

Constructor Summary
protected XsTLocalSimpleTypeImpl(XsObject pParent)
Method Summary
voidsetFinal(XsSimpleDerivationSet pFinal)
voidsetName(XsNCName pName)

Constructor Detail

XsTLocalSimpleTypeImpl

protected XsTLocalSimpleTypeImpl(XsObject pParent)

Method Detail

setFinal

public void setFinal(XsSimpleDerivationSet pFinal)

setName

public void setName(XsNCName pName)