@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="XPathEvaluator")
public class XPathEvaluator
extends JsObject
| Constructor and Description |
|---|
XPathEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
@JsNonNull XPathExpression |
createExpression(java.lang.String expression)
This method compiles an XPathExpression which can then be used for (repeated) evaluations of the XPath expression.
|
@JsNonNull XPathExpression |
createExpression(java.lang.String expression,
XPathNSResolver resolver)
This method compiles an XPathExpression which can then be used for (repeated) evaluations of the XPath expression.
|
@JsNonNull XPathNSResolver |
createNSResolver(Node nodeResolver)
This method adapts any DOM node to resolve namespaces so that an XPath expression can be easily evaluated relative to the context of the node where it appeared within the document.
|
@JsNonNull XPathResult |
evaluate(java.lang.String expression,
Node contextNode)
The evaluate() method of the XPathEvaluator interface executes an XPath expression on the given node or document and returns an XPathResult.
|
@JsNonNull XPathResult |
evaluate(java.lang.String expression,
Node contextNode,
XPathNSResolver resolver)
The evaluate() method of the XPathEvaluator interface executes an XPath expression on the given node or document and returns an XPathResult.
|
@JsNonNull XPathResult |
evaluate(java.lang.String expression,
Node contextNode,
XPathNSResolver resolver,
int type)
The evaluate() method of the XPathEvaluator interface executes an XPath expression on the given node or document and returns an XPathResult.
|
@JsNonNull XPathResult |
evaluate(java.lang.String expression,
Node contextNode,
XPathNSResolver resolver,
int type,
XPathResult result)
The evaluate() method of the XPathEvaluator interface executes an XPath expression on the given node or document and returns an XPathResult.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic @JsNonNull XPathExpression createExpression(@Nonnull java.lang.String expression, @Nullable XPathNSResolver resolver)
public @JsNonNull XPathExpression createExpression(@Nonnull java.lang.String expression)
public @JsNonNull XPathNSResolver createNSResolver(@Nonnull Node nodeResolver)
public @JsNonNull XPathResult evaluate(@Nonnull java.lang.String expression, @Nonnull Node contextNode, @Nullable XPathNSResolver resolver, int type, @Nullable XPathResult result)
public @JsNonNull XPathResult evaluate(@Nonnull java.lang.String expression, @Nonnull Node contextNode, @Nullable XPathNSResolver resolver, int type)
public @JsNonNull XPathResult evaluate(@Nonnull java.lang.String expression, @Nonnull Node contextNode, @Nullable XPathNSResolver resolver)
public @JsNonNull XPathResult evaluate(@Nonnull java.lang.String expression, @Nonnull Node contextNode)