com.ibm.wsdl.util.xml
Class XPathUtils
java.lang.Object
com.ibm.wsdl.util.xml.XPathUtils
public class XPathUtils
extends java.lang.Object
A XPathUtils
...
- Matthew J. Duftler (duftler@us.ibm.com)
- Sanjiva Weerawarana (sanjiva@watson.ibm.com)
static String | getXPathExprFromNode(Node node) - Generates an XPath expression that will return only the given node as its
result.
|
getXPathExprFromNode
public static String getXPathExprFromNode(Node node)
throws IllegalArgumentException
Generates an XPath expression that will return only the given node as its
result. This method only works for element, text, document and PI nodes.
node
- the node to generate an XPath expression for. This node must
be an element node, a text node, a document node, or a processing
instruction node.
- an XPath expression that will return only the given node as its
result.
Copyright B) 2003,2006 IBM. All Rights Reserved.