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

Class XsTAnnotatedImpl

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
XsEAnnotationcreateAnnotation()
XsEAnnotationgetAnnotation()
XsIDgetId()
voidsetId(XsID pId)

Constructor Detail

XsTAnnotatedImpl

protected XsTAnnotatedImpl(XsObject pParent)

Method Detail

createAnnotation

public XsEAnnotation createAnnotation()

getAnnotation

public XsEAnnotation getAnnotation()

getId

public XsID getId()

setId

public void setId(XsID pId)