Package net.ihe.gazelle.gen.common
Class XpathUtils
java.lang.Object
net.ihe.gazelle.gen.common.XpathUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Boolean
evaluateByNode
(Node node, String expression) static Boolean
evaluateByNode
(Node node, String expression, NamespaceContext namespaceContext) static Boolean
evaluateByString
(String string, String nodeName, String expression) static Boolean
evaluateByString
(String string, String nodeName, String expression, NamespaceContext namespaceContext)
-
Constructor Details
-
XpathUtils
public XpathUtils()
-
-
Method Details
-
evaluateByString
public static Boolean evaluateByString(String string, String nodeName, String expression, NamespaceContext namespaceContext) throws Exception - Throws:
Exception
-
evaluateByString
public static Boolean evaluateByString(String string, String nodeName, String expression) throws Exception - Throws:
Exception
-
evaluateByNode
public static Boolean evaluateByNode(Node node, String expression, NamespaceContext namespaceContext) throws Exception - Throws:
Exception
-
evaluateByNode
- Throws:
Exception
-