org.jbind.xml.schema.element
Class AppInfoElement

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

public class AppInfoElement
extends Element
implements IAppInfoElement


Constructor Summary
AppInfoElement(CreationParams aCreationParams)
           
 
Method Summary
 void acceptAppInfoVisitor(IAppInfoVisitor aVisitor)
          Recursivly visits all nodes of the appinfo element.
protected  IAttribute doCreateAttribute(ACParams anACParams)
          Hook method to create an attribute.
 IElement doCreateChild(CreationParams aCreationParams)
          Hook method to create a child element.
 java.lang.String getSource()
          Gets the source attribute of the appinfo element.
 
Methods inherited from class org.jbind.xml.schema.element.Element
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.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
 
Methods inherited from interface org.jbind.xml.core.cmp.IAppInfo
iterXmlNodes
 

Constructor Detail

AppInfoElement

public AppInfoElement(CreationParams aCreationParams)
               throws XmlException
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.

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.

getSource

public java.lang.String getSource()
Description copied from interface: IAppInfo
Gets the source attribute of the appinfo element.

Specified by:
getSource in interface IAppInfo
Returns:
(optional).

acceptAppInfoVisitor

public void acceptAppInfoVisitor(IAppInfoVisitor aVisitor)
Description copied from interface: IAppInfo
Recursivly visits all nodes of the appinfo element. The nodes are visited in document order. Each node calls the corresponding visit method of the visitor.

Specified by:
acceptAppInfoVisitor in interface IXmlNode
Overrides:
acceptAppInfoVisitor in class Element