|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.umontreal.iro.rali.XPath
public class XPath
Encapsulates the compilation and matching of an XPath expression Deals internally with exceptions that can be raised at compilation and evaluation
Method Summary | |
---|---|
static java.lang.String |
getXPathProvider()
Return the name of the XPath processor |
static void |
main(java.lang.String[] args)
For Unit Testing |
org.w3c.dom.NodeList |
matches(org.w3c.dom.Node node)
Check if the XPath matches the node and returns the NodeList of the matching |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String getXPathProvider()
public org.w3c.dom.NodeList matches(org.w3c.dom.Node node)
node
- starting node
public static void main(java.lang.String[] args)
args
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |