org.jbind.xml.schema.element
Class AnnotationElement

java.lang.Object
  extended byorg.jbind.xml.schema.element.Parent
      extended byorg.jbind.xml.schema.element.Element
          extended byorg.jbind.xml.schema.element.OpenAttributes
              extended byorg.jbind.xml.schema.element.AnnotationElement
All Implemented Interfaces:
IAnnotation, IAnnotationElement, IElement, IHasBindingAttributes, IHasLocation, INode, IOpenAttributes, IParent, ISourceInfo, IXmlElement, IXmlNode

public class AnnotationElement
extends OpenAttributes
implements IAnnotationElement


Constructor Summary
AnnotationElement(CreationParams aCreationParams)
           
 
Method Summary
 IElement doCreateChild(CreationParams aCreationParams)
          Hook method to create a child element.
 IDocumentation getDocumentation(ILanguage aLanguage)
          Gets the documentation for the specified language.
 java.util.Iterator iterAppInfos()
          Iterates the appinfo elements.
 java.util.Iterator iterDocumentations()
          Iterates the documentation elements.
 
Methods inherited from class org.jbind.xml.schema.element.OpenAttributes
doCreateAttribute, getAttributeString
 
Methods inherited from class org.jbind.xml.schema.element.Element
acceptAppInfoVisitor, addAttribute, createChild, createGlobalRef, getAnnotation, getAttributes, getBindingAttribute, getBoolean, getChildByClass, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getLocalBindingAttribute, getLocalName, getLocalStringBindingAttribute, getLocation, getNamespace, getNamespaceUri, getParent_, getParentHelper, getPrefix, getPrefixToNamespaceMapping, getQName, getSchema, getSchemaDocument, getSchemaElement, getStringBindingAttribute, getSubElement, getTargetNamespace, isTopLevelComponent, iterChildrenByClass, setLocation, setParent_, toString, validateElement
 
Methods inherited from class org.jbind.xml.schema.element.Parent
addChild, hasChildren, iterChildren, iterXmlNodes, visitChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jbind.xml.schema.element.IOpenAttributes
getAttributeString
 
Methods inherited from interface org.jbind.xml.schema.element.IElement
addAttribute, createChild, getQName, getSchema, getSchemaDocument, getSubElement, isTopLevelComponent, iterChildrenByClass, validateElement
 
Methods inherited from interface org.jbind.xml.schema.element.IParent
addChild, hasChildren, iterChildren
 
Methods inherited from interface org.jbind.xml.schema.element.INode
getParent_, setLocation, setParent_
 
Methods inherited from interface org.jbind.xml.base.IHasLocation
getLocation
 
Methods inherited from interface org.jbind.xml.core.cmp.IXmlNode
acceptAppInfoVisitor
 
Methods inherited from interface org.jbind.xml.base.IHasBindingAttributes
getBindingAttribute, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getLocalBindingAttribute, getLocalStringBindingAttribute, getStringBindingAttribute
 
Methods inherited from interface org.jbind.xml.core.cmp.ISourceInfo
getAnnotation, getPrefixToNamespaceMapping
 
Methods inherited from interface org.jbind.xml.core.cmp.IXmlElement
getAttributes, iterXmlNodes
 

Constructor Detail

AnnotationElement

public AnnotationElement(CreationParams aCreationParams)
Method Detail

doCreateChild

public IElement doCreateChild(CreationParams aCreationParams)
                       throws XmlException
Description copied from class: Element
Hook method to create a child element.

Overrides:
doCreateChild in class Element
Parameters:
aCreationParams - (required).
Returns:
(optional). The created element.
Throws:
XmlException - Raised if the creation was not successful.

iterAppInfos

public java.util.Iterator iterAppInfos()
Description copied from interface: IAnnotation
Iterates the appinfo elements.

Specified by:
iterAppInfos in interface IAnnotation
Returns:
(required) Returns an iterator of IAppInfo.

iterDocumentations

public java.util.Iterator iterDocumentations()
Description copied from interface: IAnnotation
Iterates the documentation elements.

Specified by:
iterDocumentations in interface IAnnotation
Returns:
(required) Returns an iterator of IDocumentation.

getDocumentation

public IDocumentation getDocumentation(ILanguage aLanguage)
Description copied from interface: IAnnotation
Gets the documentation for the specified language.

Specified by:
getDocumentation in interface IAnnotation
Parameters:
aLanguage - (optional).
Returns:
(optional).