org.exist.xpath
Class TypeTest

java.lang.Object
  extended byorg.exist.xpath.NodeTest
      extended byorg.exist.xpath.TypeTest

public class TypeTest
extends NodeTest


Field Summary
static TypeTest ANY_TYPE
           
protected  int nodeType
           
 
Fields inherited from class org.exist.xpath.NodeTest
ANY_TEST, name, NAME_TEST, type, TYPE_TEST
 
Constructor Summary
TypeTest(int nodeType)
           
 
Method Summary
 int getNodeType()
           
 boolean isOfType(NodeProxy proxy, short type)
           
 boolean isOfType(short type)
           
 java.lang.String toString()
           
 
Methods inherited from class org.exist.xpath.NodeTest
getName, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nodeType

protected int nodeType

ANY_TYPE

public static TypeTest ANY_TYPE
Constructor Detail

TypeTest

public TypeTest(int nodeType)
Method Detail

getNodeType

public int getNodeType()

isOfType

public boolean isOfType(NodeProxy proxy,
                        short type)

isOfType

public boolean isOfType(short type)

toString

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


Copyright (C) Wolfgang Meier. All rights reserved.