HPSearch

cgl.hpsearch.common
Class XPathEvaluator

java.lang.Object
  extended bycgl.hpsearch.common.XPathEvaluator

public class XPathEvaluator
extends Object


Constructor Summary
XPathEvaluator(String source)
           
 
Method Summary
 String[] query(String xpathCmd)
          Processes the specified xpath command against the given xml string...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathEvaluator

public XPathEvaluator(String source)
Method Detail

query

public String[] query(String xpathCmd)
Processes the specified xpath command against the given xml string...

Parameters:
xpathCmd - The XPath query expression
Returns:
Array of strings containing the matched nodes

HPSearch

For comments and suggestions please send e-mail to Harshawardhan Gadgil
Last updated: June 9 2006