org.apache.pivot.xml
Class Node

java.lang.Object
  extended by org.apache.pivot.xml.Node
Direct Known Subclasses:
Element, TextNode

public abstract class Node
extends Object

Abstract base class for XML nodes.


Constructor Summary
Node()
           
 
Method Summary
 ListenerList<NodeListener> getNodeListeners()
          Returns the node listener list.
 Element getParent()
          Returns the parent element of the node.
protected  void setParent(Element parent)
          Sets the parent element of the node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Node

public Node()
Method Detail

getParent

public Element getParent()
Returns the parent element of the node.


setParent

protected void setParent(Element parent)
Sets the parent element of the node.

Parameters:
parent -

getNodeListeners

public ListenerList<NodeListener> getNodeListeners()
Returns the node listener list.