org.aksw.commons.util
Class XPathUtils
java.lang.Object
org.aksw.commons.util.XPathUtils
public class XPathUtils
- extends Object
- Author:
- Claus Stadler
Date: 12/5/11
Time: 12:48 PM
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XPathUtils
public XPathUtils()
compile
public static XPathExpression compile(String expression)
throws Exception
- Throws:
Exception
evalToString
public static String evalToString(Node node,
XPathExpression expr)
evalToString
public static String evalToString(Node node,
String query)
throws XPathExpressionException
- Throws:
XPathExpressionException
evalToString
public static String evalToString(Node node,
String query,
boolean dummy)
- This version doesn't throw an exception on error
- Parameters:
node - query - dummy -
- Returns:
evalToNodes
public static NodeList evalToNodes(Node node,
String query)
Copyright © 2012. All Rights Reserved.