Jiffie: Java InterFace For Internet Explorer

net.sf.jiffie.xpath
Class JiffieXPath

Package class diagram package JiffieXPath
java.lang.Object
  extended by BaseXPath
      extended by net.sf.jiffie.xpath.JiffieXPath

public class JiffieXPath
extends BaseXPath

An XPath implementation for the Jiffie/InternetExplorer DOM model

This is the main entry point for matching an XPath against Internet Explorer, as accessed through the Jiffie library. You create a compiled XPath object, then match it against one or more context nodes using the BaseXPath#selectNodes method, as in the following example:

 XPath path = new DOMXPath("a/b/c");
 List results = path.selectNodes(domNode);
 

See Also:
BaseXPath

Constructor Summary
JiffieXPath(java.lang.String xpathExpr)
          Construct given an XPath expression string.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiffieXPath

public JiffieXPath(java.lang.String xpathExpr)
            throws JaxenException
Construct given an XPath expression string.

Parameters:
xpathExpr - The XPath expression.
Throws:
JaxenException - if there is a syntax error while parsing the expression.


Copyright © 2004-2009 Packwood Software. All Rights Reserved.