xacute.quilt
Class NodeType

java.lang.Object
  |
  +--xacute.quilt.NodeTest
        |
        +--xacute.quilt.NodeType
All Implemented Interfaces:
NodeTest

public class NodeType
extends NodeTest


Constructor Summary
NodeType(int type)
           
 
Method Summary
 int getType()
          Package method returning the type constant of a NodeType.
 boolean isTrue(Node n, int axis)
          Tests if a NodeTest is verified.
 java.lang.String pprint()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeType

public NodeType(int type)
Method Detail

pprint

public java.lang.String pprint()
Overrides:
pprint in class NodeTest

isTrue

public boolean isTrue(Node n,
                      int axis)
Description copied from class: NodeTest
Tests if a NodeTest is verified.
Overrides:
isTrue in class NodeTest
Following copied from class: xacute.quilt.NodeTest
Parameters:
n - the node to test
axis - a constant representing the axis-specifier (this constant is needed for a nametest)

getType

public int getType()
Package method returning the type constant of a NodeType.