ibm.techexplorer.dom
Class TENode

java.lang.Object
  |
  +--ibm.techexplorer.dom.TENode
Direct Known Subclasses:
TEAttr, TECharacterData, TEDocument, TEDocumentFragment, TEDocumentType, TEElement, TEEntity, TEEntityReference, TENotation, TEProcessingInstruction

public class TENode
extends java.lang.Object
implements Node

Description

See Also:
techexplorer, org.w3c.dom

Field Summary
protected  int node
           
protected  techexplorer plugin
           
 
Constructor Summary
TENode(techexplorer plugin, int node)
           
 
Method Summary
 Node appendChild(Node newChild)
           
 Node cloneNode(boolean deep)
           
static int convertFrBool(boolean flag)
           
static int convertFrNode(Node node)
           
 Attr convertToAttribute(int node)
           
static boolean convertToBool(int flag)
           
 CDATASection convertToCDATASection(int node)
           
 Comment convertToComment(int node)
           
 Document convertToDocument(int node)
           
 DocumentFragment convertToDocumentFragment(int node)
           
 DocumentType convertToDocumentType(int node)
           
 DOMImplementation convertToDOMImplementation(int node)
           
 Element convertToElement(int node)
           
 Entity convertToEntity(int node)
           
 EntityReference convertToEntityReference(int node)
           
 NamedNodeMap convertToNamedNodeMap(int node)
           
 Node convertToNode(int node)
           
 NodeList convertToNodeList(int node)
           
 Notation convertToNotation(int node)
           
 ProcessingInstruction convertToProcessingInstruction(int node)
           
 Text convertToText(int node)
           
static TENode createNode(techexplorer plugin, int node)
           
 NamedNodeMap getAttributes()
           
 NodeList getChildNodes()
           
 Node getFirstChild()
           
 Node getLastChild()
           
 Node getNextSibling()
           
 java.lang.String getNodeName()
           
 short getNodeType()
           
 java.lang.String getNodeValue()
           
 Document getOwnerDocument()
           
 Node getParentNode()
           
 Node getPreviousSibling()
           
 boolean hasChildNodes()
           
 Node insertBefore(Node newChild, Node refChild)
           
 Node removeChild(Node oldChild)
           
 Node replaceChild(Node newChild, Node oldChild)
           
 void setNodeValue(java.lang.String nodeValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

plugin

protected techexplorer plugin

node

protected int node
Constructor Detail

TENode

public TENode(techexplorer plugin,
              int node)
Method Detail

getNodeName

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

getNodeValue

public java.lang.String getNodeValue()
Specified by:
getNodeValue in interface Node

setNodeValue

public void setNodeValue(java.lang.String nodeValue)
Specified by:
setNodeValue in interface Node

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface Node

getParentNode

public Node getParentNode()
Specified by:
getParentNode in interface Node

getChildNodes

public NodeList getChildNodes()
Specified by:
getChildNodes in interface Node

getFirstChild

public Node getFirstChild()
Specified by:
getFirstChild in interface Node

getLastChild

public Node getLastChild()
Specified by:
getLastChild in interface Node

getPreviousSibling

public Node getPreviousSibling()
Specified by:
getPreviousSibling in interface Node

getNextSibling

public Node getNextSibling()
Specified by:
getNextSibling in interface Node

getAttributes

public NamedNodeMap getAttributes()
Specified by:
getAttributes in interface Node

getOwnerDocument

public Document getOwnerDocument()
Specified by:
getOwnerDocument in interface Node

insertBefore

public Node insertBefore(Node newChild,
                         Node refChild)
Specified by:
insertBefore in interface Node

replaceChild

public Node replaceChild(Node newChild,
                         Node oldChild)
Specified by:
replaceChild in interface Node

removeChild

public Node removeChild(Node oldChild)
Specified by:
removeChild in interface Node

appendChild

public Node appendChild(Node newChild)
Specified by:
appendChild in interface Node

hasChildNodes

public boolean hasChildNodes()
Specified by:
hasChildNodes in interface Node

cloneNode

public Node cloneNode(boolean deep)
Specified by:
cloneNode in interface Node

convertFrBool

public static int convertFrBool(boolean flag)

convertToBool

public static boolean convertToBool(int flag)

convertToDOMImplementation

public DOMImplementation convertToDOMImplementation(int node)

convertToNodeList

public NodeList convertToNodeList(int node)

convertToNamedNodeMap

public NamedNodeMap convertToNamedNodeMap(int node)

convertFrNode

public static int convertFrNode(Node node)

convertToNode

public Node convertToNode(int node)

createNode

public static TENode createNode(techexplorer plugin,
                                int node)

convertToElement

public Element convertToElement(int node)

convertToAttribute

public Attr convertToAttribute(int node)

convertToText

public Text convertToText(int node)

convertToCDATASection

public CDATASection convertToCDATASection(int node)

convertToEntityReference

public EntityReference convertToEntityReference(int node)

convertToEntity

public Entity convertToEntity(int node)

convertToProcessingInstruction

public ProcessingInstruction convertToProcessingInstruction(int node)

convertToComment

public Comment convertToComment(int node)

convertToDocument

public Document convertToDocument(int node)

convertToDocumentType

public DocumentType convertToDocumentType(int node)

convertToDocumentFragment

public DocumentFragment convertToDocumentFragment(int node)

convertToNotation

public Notation convertToNotation(int node)