Class Node
java.lang.Object
com.japisoft.editix.editor.jsx.domapi.Node
public class Node
extends java.lang.Object
The DOM Node interface is an abstract base class upon which many other DOM API objects are based, thus letting those object types to be used similarly and often interchangeably. As an abstract class, there is no such thing as a plain Node object. All objects that implement Node functionality are based on one of its subclasses. Most notable are Document, Element
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
baseURI
NodeList
childNodes
Node
firstChild
Node
lastChild
java.lang.String
localName
java.lang.String
namespaceURI
java.lang.String
nodeName
short
nodeType
java.lang.String
nodeValue
Node
parentNode
java.lang.String
tagName
java.lang.String
textContent
-
Method Summary
Modifier and Type Method Description Node
appendChild(Node newChild)
Node
cloneNode()
boolean
hasChildNodes()
Node
insertBefore(Node newNode, Node refNode)
boolean
isDefaultNamespace(java.lang.String namespaceURI)
boolean
isEqualNode(Node otherNode)
boolean
isSameNode(Node otherNode)
java.lang.String
lookupNamespaceURI(java.lang.String prefix)
java.lang.String
lookupPrefix(java.lang.String namespaceURI)
void
normalize()
void
removeChild(Node child)
void
replaceChild(Node newChild, Node oldChild)
-
Field Details
-
baseURI
public java.lang.String baseURI -
childNodes
-
localName
public java.lang.String localName -
nodeName
public java.lang.String nodeName -
tagName
public java.lang.String tagName -
namespaceURI
public java.lang.String namespaceURI -
nodeType
public short nodeType -
nodeValue
public java.lang.String nodeValue -
firstChild
-
lastChild
-
parentNode
-
textContent
public java.lang.String textContent
-
-
Method Details
-
appendChild
-
cloneNode
-
hasChildNodes
public boolean hasChildNodes() -
insertBefore
-
isDefaultNamespace
public boolean isDefaultNamespace(java.lang.String namespaceURI) -
isEqualNode
-
isSameNode
-
lookupPrefix
public java.lang.String lookupPrefix(java.lang.String namespaceURI) -
lookupNamespaceURI
public java.lang.String lookupNamespaceURI(java.lang.String prefix) -
normalize
public void normalize() -
removeChild
-
replaceChild
-