xacute.common
Interface NodeTest

All Known Implementing Classes:
NodeTest

public interface NodeTest


Method Summary
 boolean isTrue(Node n, int axis)
          Tests if a NodeTest is verified.
 

Method Detail

isTrue

public boolean isTrue(Node n,
                      int axis)
Tests if a NodeTest is verified.
Parameters:
n - the node to test
axis - a constant representing the axis-specifier (this constant is needed for a nametest, to distinguish between elements and attributes)