KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > ejtools > deploy > xml > XPathHelper


1 package net.sourceforge.ejtools.deploy.xml;
2
3 import org.apache.xpath.XPathAPI;
4 import org.w3c.dom.Node JavaDoc;
5 import org.w3c.dom.traversal.NodeIterator;
6
7
8 /**
9  * Description of the Class
10  *
11  * @author letiembl
12  * @created 28 mai 2002
13  */

14 public class XPathHelper
15 {
16
17    /** Constructor for the XPathHelper object */
18    public XPathHelper() { }
19
20
21    /**
22     * Description of the Method
23     *
24     * @param xpath Description of the Parameter
25     * @param target Description of the Parameter
26     * @return Description of the Return Value
27     * @exception Exception Description of the Exception
28     */

29    public NodeIterator processXPath(String JavaDoc xpath, Node JavaDoc target) throws Exception JavaDoc
30    {
31       return XPathAPI.selectNodeIterator(target, xpath);
32    }
33 }
34
35
Popular Tags