com.ximpleware.extended
Class NodeTest

java.lang.Object
  extended by com.ximpleware.extended.NodeTest
All Implemented Interfaces:
LocationPathNode

public class NodeTest
extends Object
implements LocationPathNode

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
           
 String URL
           
 
Constructor Summary
NodeTest()
           
 
Method Summary
 boolean eval(VTDNavHuge 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

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 void setTestType(int t)

setNodeName

public void setNodeName(String s)

setNodeNameNS

public void setNodeNameNS(String p,
                          String ln)

eval

public boolean eval(VTDNavHuge vn)
             throws NavExceptionHuge
Specified by:
eval in interface LocationPathNode
Throws:
NavExceptionHuge

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.