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

java.lang.Object
  extended by org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
      extended by org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
          extended by org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
All Implemented Interfaces:
XsObject, XsTAnnotated, XsTOpenAttrs
Direct Known 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
protected 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Constructor Detail

XsTAnnotatedImpl

protected XsTAnnotatedImpl(XsObject pParent)
Method Detail

createAnnotation

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

getAnnotation

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

setId

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

getId

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