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, setAttribute
asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOpenAttributes
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
protected XsEAnnotationImpl(XsObject pParent)
public void setId(XsID pId)
setId
in interface XsEAnnotation
public XsID getId()
getId
in interface XsEAnnotation
protected void addChild(java.lang.Object pChild)
public XsEAppinfo createAppinfo()
XsEAnnotation
Creates a new 'appinfo' child element.
createAppinfo
in interface XsEAnnotation
public XsEDocumentation createDocumentation()
XsEAnnotation
Creates a new 'documentation' child element.
createDocumentation
in interface XsEAnnotation
public XsEAppinfo[] getAppinfos()
XsEAnnotation
Returns all the 'appinfo' child elements in the
order of creation by XsEAnnotation.createAppinfo()
.
getAppinfos
in interface XsEAnnotation
public XsEDocumentation[] getDocumentations()
XsEAnnotation
Returns all the 'documentation' child elements in
the order of creation by XsEAnnotation.createDocumentation()
.
getDocumentations
in interface XsEAnnotation
public java.lang.Object[] getChilds()
XsEAnnotation
Returns all the annotations child elements in the order of creation.
getChilds
in interface XsEAnnotation
public 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