org.planx.xpath.expr
Class NodeTest

java.lang.Object
  extended by org.planx.xpath.expr.NodeTest
Direct Known Subclasses:
NameTest, NodeTypeTest

public abstract class NodeTest
extends Object

Represents a node test.


Constructor Summary
NodeTest()
           
 
Method Summary
abstract  boolean matches(Object node, int principalNodeType, Navigator navigator)
          Returns true if the specified object matches this node test.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeTest

public NodeTest()
Method Detail

matches

public abstract boolean matches(Object node,
                                int principalNodeType,
                                Navigator navigator)
                         throws XPathException
Returns true if the specified object matches this node test. The argument principalNodeType is the principal node type of the axis as specified in Navigator.

Throws:
XPathException


Copyright © 2010. All Rights Reserved.