public class XPathUtils
extends java.lang.Object
XPathUtils
Constructor and Description |
---|
XPathUtils() |
Modifier and Type | Method and Description |
---|---|
static double |
getDouble(java.lang.String xpath,
org.w3c.dom.Element e,
javax.xml.namespace.NamespaceContext nscontext) |
static org.w3c.dom.Element |
getElement(java.lang.String xpath,
org.w3c.dom.Element e,
javax.xml.namespace.NamespaceContext nscontext) |
static java.util.LinkedList<org.w3c.dom.Element> |
getElements(java.lang.String xpath,
org.w3c.dom.Element e,
javax.xml.namespace.NamespaceContext nscontext) |
static int |
getInt(java.lang.String xpath,
org.w3c.dom.Element e,
javax.xml.namespace.NamespaceContext nscontext) |
static org.w3c.dom.Node |
getNode(java.lang.String xpath,
org.w3c.dom.Element e,
javax.xml.namespace.NamespaceContext nscontext) |
static java.util.LinkedList<org.w3c.dom.Node> |
getNodes(java.lang.String xpath,
org.w3c.dom.Element e,
javax.xml.namespace.NamespaceContext nscontext) |
public static int getInt(java.lang.String xpath, org.w3c.dom.Element e, javax.xml.namespace.NamespaceContext nscontext) throws javax.xml.xpath.XPathExpressionException
xpath
- e
- nscontext
- javax.xml.xpath.XPathExpressionException
public static double getDouble(java.lang.String xpath, org.w3c.dom.Element e, javax.xml.namespace.NamespaceContext nscontext) throws javax.xml.xpath.XPathExpressionException
xpath
- e
- nscontext
- javax.xml.xpath.XPathExpressionException
public static java.util.LinkedList<org.w3c.dom.Node> getNodes(java.lang.String xpath, org.w3c.dom.Element e, javax.xml.namespace.NamespaceContext nscontext) throws javax.xml.xpath.XPathExpressionException
xpath
- e
- nscontext
- javax.xml.xpath.XPathExpressionException
public static java.util.LinkedList<org.w3c.dom.Element> getElements(java.lang.String xpath, org.w3c.dom.Element e, javax.xml.namespace.NamespaceContext nscontext) throws javax.xml.xpath.XPathExpressionException
xpath
- e
- nscontext
- javax.xml.xpath.XPathExpressionException
public static org.w3c.dom.Node getNode(java.lang.String xpath, org.w3c.dom.Element e, javax.xml.namespace.NamespaceContext nscontext) throws javax.xml.xpath.XPathExpressionException
xpath
- e
- nscontext
- javax.xml.xpath.XPathExpressionException
public static org.w3c.dom.Element getElement(java.lang.String xpath, org.w3c.dom.Element e, javax.xml.namespace.NamespaceContext nscontext) throws javax.xml.xpath.XPathExpressionException
xpath
- e
- nscontext
- javax.xml.xpath.XPathExpressionException