org.apache.ws.jaxme.xs.xml
Interface XsEAnnotation

All Superinterfaces:
XsObject, XsTOpenAttrs
All Known Implementing Classes:
XsEAnnotationImpl

public interface XsEAnnotation
extends XsTOpenAttrs

Interface of xs:annotation, as specified by the following:

  <xs:element name="annotation" id="annotation">
    <xs:annotation>
      <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-annotation"/>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="xs:openAttrs">
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="xs:appinfo"/>
            <xs:element ref="xs:documentation"/>
          </xs:choice>
          <xs:attribute name="id" type="xs:ID"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
 

Author:
Jochen Wiedmann

Method Summary
 XsEAppinfo createAppinfo()
          Creates a new 'appinfo' child element.
 XsEDocumentation createDocumentation()
          Creates a new 'documentation' child element.
 XsEAppinfo[] getAppinfos()
          Returns all the 'appinfo' child elements in the order of creation by createAppinfo().
 java.lang.Object[] getChilds()
          Returns all the annotations child elements in the order of creation.
 XsEDocumentation[] getDocumentations()
          Returns all the 'documentation' child elements in the order of creation by createDocumentation().
 XsID getId()
           
 void setId(XsID pId)
           
 
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
 

Method Detail

setId

void setId(XsID pId)

getId

XsID getId()

createAppinfo

XsEAppinfo createAppinfo()

Creates a new 'appinfo' child element.


getAppinfos

XsEAppinfo[] getAppinfos()

Returns all the 'appinfo' child elements in the order of creation by createAppinfo().


createDocumentation

XsEDocumentation createDocumentation()

Creates a new 'documentation' child element.


getDocumentations

XsEDocumentation[] getDocumentations()

Returns all the 'documentation' child elements in the order of creation by createDocumentation().


getChilds

java.lang.Object[] getChilds()

Returns all the annotations child elements in the order of creation.