Modifier and Type | Method and Description |
---|---|
OXPathType |
PAATEval_.eval_(DOMNode context,
Node astNode,
PAATStateEvalIterative state)
Need to call this method to check children so that memoization is applied
|
OXPathType |
OXPath.evaluate(File in,
WebBrowserBuilder builder,
IAbstractOutputHandler oh)
Evaluates a query contained in a
File (in the UTF8 encoding) , using the given WebBrowser . |
OXPathType |
OXPath.evaluate(File in,
WebBrowser browser,
IAbstractOutputHandler oh)
Evaluates a query contained in a
File (in the UTF8 encoding) , using the given WebBrowser . |
OXPathType |
OXPath.evaluate(Reader in,
WebBrowserBuilder builder,
IAbstractOutputHandler oh)
Evaluates a query provided as a
Reader , using the given WebBrowser . |
OXPathType |
OXPath.evaluate(Reader in,
WebBrowser browser,
IAbstractOutputHandler oh)
Evaluates a query provided as a
Reader , using the given WebBrowser . |
OXPathType |
OXPath.evaluate(String wrapper,
WebBrowserBuilder builder,
IAbstractOutputHandler oh)
Evaluates a query provided as a
Reader , using the given WebBrowser . |
OXPathType |
OXPath.evaluate(String wrapper,
WebBrowser browser,
IAbstractOutputHandler oh)
Evaluates a query provided as string, using the given
WebBrowser . |
OXPathType |
OXPath.evaluateWithBrowserBuilder(Node node,
WebBrowserBuilder builder,
IAbstractOutputHandler oh) |
Modifier and Type | Field and Description |
---|---|
static OXPathType |
OXPathType.EMPTYRESULT
premade object that returns empty output
|
Modifier and Type | Method and Description |
---|---|
OXPathType |
OXPathContextNode.contextualize(List<DOMNode> domNodes) |
OXPathType |
OXPathContextNode.getByOXPath(AggregatedStep aggregatedStep)
Returns the node by calling the getByXPath in the browser's XPath API.
|
OXPathType |
OXPathContextNode.getByOXPath(Step step)
Returns the node by calling the getByXPath in the browser's XPath API.
|
OXPathType |
OXPathContextNode.getByXPath(String stepString)
Returns the node by calling the getByXPath in the browser's XPath API.
|
OXPathType |
OXPathContextNodeConstructed.getByXPath(String path)
Evaluates XPath expression.
|
OXPathType |
OXPathContextNode.getByXPath(String stepString,
boolean forward)
Returns the node by calling the getByXPath in HtmlUnit.
|
OXPathType |
OXPathContextNode.getByXPath(String stepString,
boolean forward,
boolean returnsNodes)
Returns the node by calling the getByXPath in HtmlUnit.
|
Constructor and Description |
---|
OXPathType(OXPathType other)
Returns a new (defensive) copy of the implicit parameter
|
Modifier and Type | Method and Description |
---|---|
OXPathType |
OXPathNodeTest.evaluate(OXPathContextNode node,
Axis axis)
evaluates the context node with the step using this axis and nodetest
|
abstract OXPathType |
OXPathAxis.evaluate(OXPathContextNode node,
NodeTest nodetest)
evaluates the context node with the step using this axis and nodetest
|
OXPathType |
SelectorPredicate.evaluateIterative(OXPathContextNode contextNode)
evaluates input by the operation and returns the result; call this method when no position() or
last() node tests occur inside subsequent predicates (or this one) in this list.
|
OXPathType |
Selector.evaluateIterative(OXPathContextNode contextNode,
OXPathType other)
evaluates input by the operation and returns the result; call this method when no position() or
last() node tests occur inside subsequent predicates (or this one) in this list.
|
OXPathType |
SelectorPredicate.evaluateSet(IOXPathNodeList contextSet)
evaluates input by the operation and returns the result; call this method when position() or
last() node tests occur inside subsequent predicates (or this one) in this list.
|
OXPathType |
Selector.evaluateSet(IOXPathNodeList contextSet,
OXPathType other)
evaluates input by the operation and returns the result; call this method when position() or
last() node tests occur inside subsequent predicates (or this one) in this list.
|
Modifier and Type | Method and Description |
---|---|
OXPathType |
Selector.evaluateIterative(OXPathContextNode contextNode,
OXPathType other)
evaluates input by the operation and returns the result; call this method when no position() or
last() node tests occur inside subsequent predicates (or this one) in this list.
|
OXPathType |
Selector.evaluateSet(IOXPathNodeList contextSet,
OXPathType other)
evaluates input by the operation and returns the result; call this method when position() or
last() node tests occur inside subsequent predicates (or this one) in this list.
|
Modifier and Type | Method and Description |
---|---|
OXPathType |
XPathFunction.evaluate(ArrayList<OXPathType> args,
PAATStateEvalSet state)
Evaluates the function (by PAAT with a list of arguments).
|
protected OXPathType |
XPathFunctions.innerOrOuterHTML(ArrayList<OXPathType> args,
PAATStateEvalSet state,
XPathFunctions function) |
Modifier and Type | Method and Description |
---|---|
OXPathType |
XPathFunction.evaluate(ArrayList<OXPathType> args,
PAATStateEvalSet state)
Evaluates the function (by PAAT with a list of arguments).
|
protected OXPathType |
XPathFunctions.innerOrOuterHTML(ArrayList<OXPathType> args,
PAATStateEvalSet state,
XPathFunctions function) |
Modifier and Type | Method and Description |
---|---|
protected OXPathType |
RelationalExprOp.compute(OXPathType lhs,
OXPathType rhs)
Precomputes lists needed by all operators.
|
protected OXPathType |
EqualityExprOp.computeEquality(OXPathType lhs,
OXPathType rhs)
Precomputes lists needed by all operators.
|
OXPathType |
UnaryOperator.evaluate(OXPathType in)
evaluates input by the operation and returns the result
|
OXPathType |
BinaryOperator.evaluate(OXPathType lhs,
OXPathType rhs)
evaluates input by the operation and returns the result
|
Modifier and Type | Method and Description |
---|---|
protected OXPathType |
RelationalExprOp.compute(OXPathType lhs,
OXPathType rhs)
Precomputes lists needed by all operators.
|
protected OXPathType |
EqualityExprOp.computeEquality(OXPathType lhs,
OXPathType rhs)
Precomputes lists needed by all operators.
|
OXPathType |
UnaryOperator.evaluate(OXPathType in)
evaluates input by the operation and returns the result
|
OXPathType |
BinaryOperator.evaluate(OXPathType lhs,
OXPathType rhs)
evaluates input by the operation and returns the result
|
Copyright © 2020 OXPath Team. All rights reserved.