org.jbind.xml.dom3.core
Class DomProcessingInstruction

java.lang.Object
  extended byorg.jbind.xml.dom3.core.DomObject
      extended byorg.jbind.xml.dom3.core.DomNode
          extended byorg.jbind.xml.dom3.core.DomNonAttrOrElm
              extended byorg.jbind.xml.dom3.core.DomProcessingInstruction
All Implemented Interfaces:
IDomNode, IDomObject, IDomProcessingInstruction, IHasLocation, org.w3c.dom.Node, org.w3c.dom.ProcessingInstruction

public class DomProcessingInstruction
extends DomNonAttrOrElm
implements IDomProcessingInstruction


Field Summary
 
Fields inherited from class org.jbind.xml.dom3.core.DomNode
myChildNodes, myParentNode
 
Fields inherited from class org.jbind.xml.dom3.core.DomObject
myOwnerDocument
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
DomProcessingInstruction(IDomDocument aDomDocument, java.lang.String aTarget, java.lang.String aData)
           
DomProcessingInstruction(IDomProcessingInstruction aDomProcessingInstruction, boolean aDeep)
           
 
Method Summary
 org.w3c.dom.Node cloneNode(boolean aDeep)
           
protected  void doAfterAccept(IDomVisitor aDomVisitor)
           
protected  void doBeforeAccept(IDomVisitor aDomVisitor)
           
protected  IDomNodeList doCloneChildNodes(IDomNodeList aDomNodeList, boolean aDeep)
          Hook method for cloning the child nodes.
 java.lang.String getData()
           
 java.lang.String getNodeName()
           
 short getNodeType()
           
 java.lang.String getNodeValue()
           
 java.lang.String getTarget()
           
 java.lang.String getTextContent()
           
 void setData(java.lang.String aData)
           
 void setNodeValue(java.lang.String nodeValue)
           
 void setTextContent(ITextContentProvider aTextContentProvider)
           
 void setTextContent(java.lang.String aString)
           
 
Methods inherited from class org.jbind.xml.dom3.core.DomNonAttrOrElm
getAttributes, getLocalName, getNamespaceURI, getPrefix, hasAttributes, isDefault, isNil, setPrefix
 
Methods inherited from class org.jbind.xml.dom3.core.DomNode
accept, addElement, addElement, addText, appendChild, collectTextContent, collectTextContent, compareTreePosition, getAncestor, getBaseURI, getChild, getChildByClass, getChildNodes, getFirstChild, getInterface, getLastChild, getLocation, getNamespaceForPrefix, getNbChildren, getNextSibling, getNonDefaultedNbChildren, getParentImpl, getParentNode, getPrefixForNamespace, getPrefixToNamespaceMapping, getPreviousSibling, getUserData, hasChildNodes, insertAfter, insertBefore, isEqualNode, isSameNode, isSupported, iterChildren, lookupNamespacePrefix, lookupNamespaceURI, normalize, removeChild, replaceChild, restoreTextContent, saveTextContent, setChildNodes, setLocation, setPrefixToNamespaceMapping, visitChildren
 
Methods inherited from class org.jbind.xml.dom3.core.DomObject
checkMutability, checkOwnerDocument, getOwnerDocument, isReadOnly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
appendChild, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setPrefix
 
Methods inherited from interface org.jbind.xml.dom3.types.IDomNode
accept, insertAfter, lookupNamespaceURI, setLocation, setPrefixToNamespaceMapping
 
Methods inherited from interface org.jbind.xml.dom3.types.IDomObject
getOwnerDocument, isReadOnly
 
Methods inherited from interface org.jbind.xml.base.IHasLocation
getLocation
 

Constructor Detail

DomProcessingInstruction

public DomProcessingInstruction(IDomDocument aDomDocument,
                                java.lang.String aTarget,
                                java.lang.String aData)

DomProcessingInstruction

public DomProcessingInstruction(IDomProcessingInstruction aDomProcessingInstruction,
                                boolean aDeep)
Method Detail

getNodeName

public java.lang.String getNodeName()
Specified by:
getNodeName in interface org.w3c.dom.Node

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface org.w3c.dom.Node

cloneNode

public org.w3c.dom.Node cloneNode(boolean aDeep)
Specified by:
cloneNode in interface org.w3c.dom.Node

doCloneChildNodes

protected IDomNodeList doCloneChildNodes(IDomNodeList aDomNodeList,
                                         boolean aDeep)
Description copied from class: DomNode
Hook method for cloning the child nodes.

Specified by:
doCloneChildNodes in class DomNode

getData

public java.lang.String getData()
Specified by:
getData in interface org.w3c.dom.ProcessingInstruction

getNodeValue

public java.lang.String getNodeValue()
                              throws DomException
Specified by:
getNodeValue in interface org.w3c.dom.Node
Throws:
DomException

getTarget

public java.lang.String getTarget()
Specified by:
getTarget in interface org.w3c.dom.ProcessingInstruction

setData

public void setData(java.lang.String aData)
             throws DomException
Specified by:
setData in interface org.w3c.dom.ProcessingInstruction
Throws:
DomException

setNodeValue

public void setNodeValue(java.lang.String nodeValue)
                  throws DomException
Specified by:
setNodeValue in interface org.w3c.dom.Node
Throws:
DomException

doBeforeAccept

protected void doBeforeAccept(IDomVisitor aDomVisitor)
Specified by:
doBeforeAccept in class DomNode

doAfterAccept

protected void doAfterAccept(IDomVisitor aDomVisitor)
Specified by:
doAfterAccept in class DomNode

getTextContent

public java.lang.String getTextContent()
Specified by:
getTextContent in interface IDomNode

setTextContent

public void setTextContent(ITextContentProvider aTextContentProvider)
Specified by:
setTextContent in interface IDomNode
Overrides:
setTextContent in class DomNode

setTextContent

public void setTextContent(java.lang.String aString)
Specified by:
setTextContent in interface IDomNode
Overrides:
setTextContent in class DomNode