org.jbind.xml.schema.element
Class DocumentationElement

java.lang.Object
  extended byorg.jbind.xml.schema.element.Parent
      extended byorg.jbind.xml.schema.element.Element
          extended byorg.jbind.xml.schema.element.DocumentationElement
All Implemented Interfaces:
IDocumentation, IDocumentationElement, IElement, IHasBindingAttributes, IHasLocation, INode, IParent, ISourceInfo, IXmlElement, IXmlNode

public class DocumentationElement
extends Element
implements IDocumentationElement


Constructor Summary
DocumentationElement(CreationParams aCreationParams)
           
 
Method Summary
protected  IAttribute doCreateAttribute(ACParams anACParams)
          Hook method to create an attribute.
 IElement doCreateChild(CreationParams aCreationParams)
          Hook method to create a child element.
 ILanguage getLanguage()
           
 java.lang.String getSource()
           
 java.lang.String getText()
           
 
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.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

DocumentationElement

public DocumentationElement(CreationParams aCreationParams)
                     throws XmlException
Method Detail

doCreateAttribute

protected IAttribute doCreateAttribute(ACParams anACParams)
                                throws XmlException
Description copied from class: Element
Hook method to create an attribute.

Overrides:
doCreateAttribute in class Element
Parameters:
anACParams - (required).
Returns:
(optional). The created attribute.
Throws:
XmlException - Thrown if the creation was not successful.

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.

getSource

public java.lang.String getSource()
Specified by:
getSource in interface IDocumentation

getLanguage

public ILanguage getLanguage()
Specified by:
getLanguage in interface IDocumentation

getText

public java.lang.String getText()
Specified by:
getText in interface IDocumentation