com.japisoft.xpath.node
Class AbstractNode

java.lang.Object
  |
  +--com.japisoft.xpath.node.AbstractNode
Direct Known Subclasses:
Expr, Node, Predicate

public abstract class AbstractNode
extends java.lang.Object

Basic node for XPath tree

Version:
1.0
Author:
(c) 2003 JAPISOFT

Constructor Summary
AbstractNode()
           
 
Method Summary
 void addNode(AbstractNode node)
           
abstract  java.lang.Object eval(XPathContext context)
           
 AbstractNode getNodeAt(int index)
           
 int getNodeCount()
           
 AbstractNode getParentNode()
           
 AbstractNode getRootNode()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractNode

public AbstractNode()
Method Detail

addNode

public void addNode(AbstractNode node)

getNodeAt

public AbstractNode getNodeAt(int index)

getNodeCount

public int getNodeCount()

getParentNode

public AbstractNode getParentNode()

getRootNode

public AbstractNode getRootNode()

eval

public abstract java.lang.Object eval(XPathContext context)