net.sf.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 net.sf.jaxme.xs.xml.XsTOpenAttrs
getOpenAttributes
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
 

Method Detail

setId

public void setId(XsID pId)

getId

public XsID getId()

createAppinfo

public XsEAppinfo createAppinfo()

Creates a new 'appinfo' child element.


getAppinfos

public XsEAppinfo[] getAppinfos()

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


createDocumentation

public XsEDocumentation createDocumentation()

Creates a new 'documentation' child element.


getDocumentations

public XsEDocumentation[] getDocumentations()

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


getChilds

public java.lang.Object[] getChilds()

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