org.stjs.javascript.dom
Class Node

java.lang.Object
  extended by org.stjs.javascript.dom.Node
Direct Known Subclasses:
Attr, CharacterData, Document, Element

public abstract class Node
extends Object


Field Summary
 HTMLCollection<Attr> attributes
           
 String baseURI
           
 HTMLList<Node> childNodes
           
 Node firstChild
           
 boolean hasAttributes
           
 boolean hasChildNodes
           
 Node lastChild
           
 String localName
           
 String namespaceURI
           
 Node nextSibling
           
 String nodeName
           
 short nodeType
           
 String nodeValue
           
 Document ownerDocument
           
 Node parentNode
           
 String prefix
           
 Node previousSibling
           
 String textContent
           
 
Constructor Summary
Node()
           
 
Method Summary
 void appendChild(Node node)
           
 Node cloneNode(boolean deep)
           
 short compareDocumentPosition(Node n)
           
 String getFeature(String feature, String version)
           
 String getUserData(String s)
           
 void insertBefore(Node n1, Node n2)
           
 boolean isDefaultNamespace(String s)
           
 boolean isEqualNode(Node n)
           
 boolean isSameNode(Node n)
           
 boolean isSupported(String feature, String version)
           
 String lookupNamespaceURI(String s)
           
 String lookupPrefix(String s)
           
 void normalize()
           
 void removeChild(Node n)
           
 void replaceChild(Node n1, Node n2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributes

public HTMLCollection<Attr> attributes

baseURI

public String baseURI

childNodes

public HTMLList<Node> childNodes

firstChild

public Node firstChild

lastChild

public Node lastChild

localName

public String localName

namespaceURI

public String namespaceURI

nextSibling

public Node nextSibling

nodeName

public String nodeName

nodeType

public short nodeType

nodeValue

public String nodeValue

ownerDocument

public Document ownerDocument

parentNode

public Node parentNode

prefix

public String prefix

previousSibling

public Node previousSibling

textContent

public String textContent

hasAttributes

public boolean hasAttributes

hasChildNodes

public boolean hasChildNodes
Constructor Detail

Node

public Node()
Method Detail

appendChild

public void appendChild(Node node)

cloneNode

public Node cloneNode(boolean deep)

compareDocumentPosition

public short compareDocumentPosition(Node n)

getFeature

public String getFeature(String feature,
                         String version)

getUserData

public String getUserData(String s)

insertBefore

public void insertBefore(Node n1,
                         Node n2)

isDefaultNamespace

public boolean isDefaultNamespace(String s)

isEqualNode

public boolean isEqualNode(Node n)

isSameNode

public boolean isSameNode(Node n)

isSupported

public boolean isSupported(String feature,
                           String version)

lookupNamespaceURI

public String lookupNamespaceURI(String s)

lookupPrefix

public String lookupPrefix(String s)

normalize

public void normalize()

removeChild

public void removeChild(Node n)

replaceChild

public void replaceChild(Node n1,
                         Node n2)


Copyright © 2013. All Rights Reserved.