xacute.quilt
Class NodeTest

java.lang.Object
  |
  +--xacute.quilt.NodeTest
All Implemented Interfaces:
NodeTest
Direct Known Subclasses:
NameTest, NodeType

public abstract class NodeTest
extends java.lang.Object
implements NodeTest


Constructor Summary
NodeTest()
           
 
Method Summary
abstract  boolean isTrue(Node n, int axis)
          Tests if a NodeTest is verified.
abstract  java.lang.String pprint()
           
 
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

pprint

public abstract java.lang.String pprint()

isTrue

public abstract boolean isTrue(Node n,
                               int axis)
Tests if a NodeTest is verified.
Specified by:
isTrue in interface NodeTest
Parameters:
n - the node to test
axis - a constant representing the axis-specifier (this constant is needed for a nametest)