Package com.helger.xml.xpath
Class XPathExpressionHelper
- java.lang.Object
-
- com.helger.xml.xpath.XPathExpressionHelper
-
@NotThreadSafe public final class XPathExpressionHelper extends Object
Utility class to evaluate XPath expressions more easily- Author:
- Philip Helger
-
-
Method Summary
-
-
-
Method Detail
-
evalXPath
@Nullable public static Object evalXPath(@Nullable XPathVariableResolver aVariableResolver, @Nullable XPathFunctionResolver aFunctionResolver, @Nullable NamespaceContext aNamespaceContext, @Nonnull String sXPath, @Nonnull Document aDoc, @Nonnull QName aReturnType)
-
evalXPath
@Nullable public static Object evalXPath(@Nonnull XPath aXPath, @Nonnull @Nonempty String sXPath, @Nonnull Document aDoc, @Nonnull QName aReturnType)
-
evalXPathToNumber
@Nullable public static Double evalXPathToNumber(@Nullable XPathVariableResolver aVariableResolver, @Nullable XPathFunctionResolver aFunctionResolver, @Nullable NamespaceContext aNamespaceContext, @Nonnull String sXPath, @Nonnull Document aDoc)
-
evalXPathToNumber
@Nullable public static Double evalXPathToNumber(@Nonnull String sXPath, @Nonnull Document aDoc)
-
evalXPathToNumber
@Nullable public static Double evalXPathToNumber(@Nonnull XPath aXPath, @Nonnull String sXPath, @Nonnull Document aDoc)
-
evalXPathToString
@Nullable public static String evalXPathToString(@Nullable XPathVariableResolver aVariableResolver, @Nullable XPathFunctionResolver aFunctionResolver, @Nullable NamespaceContext aNamespaceContext, @Nonnull String sXPath, @Nonnull Document aDoc)
-
evalXPathToString
@Nullable public static String evalXPathToString(@Nonnull String sXPath, @Nonnull Document aDoc)
-
evalXPathToString
@Nullable public static String evalXPathToString(@Nonnull XPath aXPath, @Nonnull String sXPath, @Nonnull Document aDoc)
-
evalXPathToBoolean
@Nullable public static Boolean evalXPathToBoolean(@Nullable XPathVariableResolver aVariableResolver, @Nullable XPathFunctionResolver aFunctionResolver, @Nullable NamespaceContext aNamespaceContext, @Nonnull String sXPath, @Nonnull Document aDoc)
-
evalXPathToBoolean
@Nullable public static Boolean evalXPathToBoolean(@Nonnull String sXPath, @Nonnull Document aDoc)
-
evalXPathToBoolean
@Nullable public static Boolean evalXPathToBoolean(@Nonnull XPath aXPath, @Nonnull String sXPath, @Nonnull Document aDoc)
-
evalXPathToNodeList
@Nullable public static NodeList evalXPathToNodeList(@Nullable XPathVariableResolver aVariableResolver, @Nullable XPathFunctionResolver aFunctionResolver, @Nullable NamespaceContext aNamespaceContext, @Nonnull String sXPath, @Nonnull Document aDoc)
-
evalXPathToNodeList
@Nullable public static NodeList evalXPathToNodeList(@Nonnull String sXPath, @Nonnull Document aDoc)
-
evalXPathToNodeList
@Nullable public static NodeList evalXPathToNodeList(@Nonnull XPath aXPath, @Nonnull String sXPath, @Nonnull Document aDoc)
-
evalXPathToNode
@Nullable public static Node evalXPathToNode(@Nullable XPathVariableResolver aVariableResolver, @Nullable XPathFunctionResolver aFunctionResolver, @Nullable NamespaceContext aNamespaceContext, @Nonnull String sXPath, @Nonnull Document aDoc)
-
evalXPathToNode
@Nullable public static Node evalXPathToNode(@Nonnull String sXPath, @Nonnull Document aDoc)
-
-