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

Class XsTAnnotatedImpl

Implemented Interfaces:
XsObject, XsTAnnotated, XsTOpenAttrs
Known Direct Subclasses:
XsEComplexContentImpl, XsEFieldImpl, XsEImportImpl, XsEIncludeImpl, XsEListImpl, XsENotationImpl, XsERedefineImpl, XsERestrictionImpl, XsESelectorImpl, XsESimpleContentImpl, XsEUnionImpl, XsGAllModelImpl, XsTAllImpl, XsTAttributeGroupImpl, XsTAttributeGroupRefImpl, XsTAttributeImpl, XsTComplexTypeImpl, XsTElementImpl, XsTExtensionTypeImpl, XsTFacetBaseImpl, XsTGroupImpl, XsTKeybaseImpl, XsTNamedGroupImpl, XsTRestrictionTypeImpl, XsTSimpleExplicitGroupImpl, XsTSimpleExtensionTypeImpl, XsTSimpleTypeImpl, XsTWildcardImpl

public class XsTAnnotatedImpl
extends XsTOpenAttrsImpl
implements XsTAnnotated

Implementation of an annotated element, as specified by the following:
  <xs:complexType name="annotated">
    <xs:annotation>
      <xs:documentation>
        This type is extended by all types which allow annotation
        other than <schema> itself.
      </xs:documentation>
    </xs:annotation>
    <xs:complexContent>
      <xs:extension base="xs:openAttrs">
        <xs:sequence>
          <xs:element ref="xs:annotation" minOccurs="0"/>
        </xs:sequence>
        <xs:attribute name="id" type="xs:ID"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
 
Author:
Jochen Wiedmann

Constructor Summary

XsTAnnotatedImpl(XsObject pParent)

Method Summary

XsEAnnotation
createAnnotation()
XsEAnnotation
getAnnotation()
XsID
getId()
void
setId(XsID pId)

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

XsTAnnotatedImpl

protected XsTAnnotatedImpl(XsObject pParent)

Method Details

createAnnotation

public XsEAnnotation createAnnotation()
Specified by:
createAnnotation in interface XsTAnnotated

getAnnotation

public XsEAnnotation getAnnotation()
Specified by:
getAnnotation in interface XsTAnnotated

getId

public XsID getId()
Specified by:
getId in interface XsTAnnotated

setId

public void setId(XsID pId)
Specified by:
setId in interface XsTAnnotated