public class XsEAnnotationImpl extends XsTOpenAttrsImpl implements XsEAnnotation
Implementation 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>
| Modifier | Constructor and Description |
|---|---|
protected |
XsEAnnotationImpl(XsObject pParent) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChild(java.lang.Object pChild) |
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
XsEAnnotation.createAppinfo(). |
org.xml.sax.ContentHandler |
getChildHandler(java.lang.String pQName,
java.lang.String pNamespaceURI,
java.lang.String pLocalName) |
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
XsEAnnotation.createDocumentation(). |
XsID |
getId() |
void |
setId(XsID pId) |
getOpenAttributes, setAttributeasXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOpenAttributesgetLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validateprotected XsEAnnotationImpl(XsObject pParent)
public void setId(XsID pId)
setId in interface XsEAnnotationpublic XsID getId()
getId in interface XsEAnnotationprotected void addChild(java.lang.Object pChild)
public XsEAppinfo createAppinfo()
XsEAnnotationCreates a new 'appinfo' child element.
createAppinfo in interface XsEAnnotationpublic XsEDocumentation createDocumentation()
XsEAnnotationCreates a new 'documentation' child element.
createDocumentation in interface XsEAnnotationpublic XsEAppinfo[] getAppinfos()
XsEAnnotationReturns all the 'appinfo' child elements in the
order of creation by XsEAnnotation.createAppinfo().
getAppinfos in interface XsEAnnotationpublic XsEDocumentation[] getDocumentations()
XsEAnnotationReturns all the 'documentation' child elements in
the order of creation by XsEAnnotation.createDocumentation().
getDocumentations in interface XsEAnnotationpublic java.lang.Object[] getChilds()
XsEAnnotationReturns all the annotations child elements in the order of creation.
getChilds in interface XsEAnnotationpublic org.xml.sax.ContentHandler getChildHandler(java.lang.String pQName,
java.lang.String pNamespaceURI,
java.lang.String pLocalName)
throws org.xml.sax.SAXException
org.xml.sax.SAXException