com.ximpleware
Class NodeTest

java.lang.Object
  extended by com.ximpleware.NodeTest

public class NodeTest
extends Object

This class is used within LocationPathExpr to represent Nodetest


Field Summary
static int COMMENT
           
 String localName
           
static int NAMETEST
           
static int NODE
           
 String nodeName
           
static int PI0
           
static int PI1
           
 String prefix
           
 int testType
           
static int TEXT
           
 int type
           
 String URL
           
 
Constructor Summary
NodeTest()
           
 
Method Summary
 boolean eval(VTDNav vn)
           
 boolean eval2(VTDNav vn)
           
 void setNodeName(String s)
           
 void setNodeNameNS(String p, String ln)
           
 void setTestType(int t)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nodeName

public String nodeName

prefix

public String prefix

localName

public String localName

URL

public String URL

testType

public int testType

type

public int type

NAMETEST

public static final int NAMETEST
See Also:
Constant Field Values

NODE

public static final int NODE
See Also:
Constant Field Values

TEXT

public static final int TEXT
See Also:
Constant Field Values

PI0

public static final int PI0
See Also:
Constant Field Values

PI1

public static final int PI1
See Also:
Constant Field Values

COMMENT

public static final int COMMENT
See Also:
Constant Field Values
Constructor Detail

NodeTest

public NodeTest()
Method Detail

setTestType

public final void setTestType(int t)

setNodeName

public final void setNodeName(String s)

setNodeNameNS

public final void setNodeNameNS(String p,
                                String ln)

eval

public boolean eval(VTDNav vn)
             throws NavException
Throws:
NavException

eval2

public boolean eval2(VTDNav vn)
              throws NavException
Throws:
NavException

toString

public final String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.