com.counterclaim.openefm.model.lxml
Class XPathHelper

java.lang.Object
  |
  +--com.counterclaim.openefm.model.lxml.XPathHelper

public class XPathHelper
extends java.lang.Object


Constructor Summary
XPathHelper(java.lang.String xml)
           
 
Method Summary
 boolean initXPath(java.lang.String content)
          This method readies the filing for XPath queries.
 boolean isQueriable()
           
 java.util.List queryXPath(java.lang.String query)
          NOTE: There is some documentation on dom4j's site that suggests that it is faster to use selectNodes() even when you are only looking for a single node.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathHelper

public XPathHelper(java.lang.String xml)
Method Detail

initXPath

public boolean initXPath(java.lang.String content)
This method readies the filing for XPath queries.

isQueriable

public boolean isQueriable()

queryXPath

public java.util.List queryXPath(java.lang.String query)
NOTE: There is some documentation on dom4j's site that suggests that it is faster to use selectNodes() even when you are only looking for a single node.


Copyright © 2002 counterclaim.com. All Rights Reserved.