| Package | Description |
|---|---|
| org.htmlunit.xpath |
Implementation of XPath; for the most part, only classes meant for public use are
found at this root level of the XPath packages.
|
| org.htmlunit.xpath.axes |
Implementation of XPath LocationPath support -- primary classes are
LocPathIterator and UnionPathIterator.
|
| org.htmlunit.xpath.functions |
Implements XPath functions -- each function is derived from Function,
FunctionOneArg, Function2Args, etc, with number-of-arguments checking being
applied mainly at compile time -- this package only implements XPath functions,
XSLT functions are found in the "templates" package.
|
| org.htmlunit.xpath.objects |
Implementation of XPath polymorphic type objects -- this package will grow
as XPath objects are expanded to support XML Schema data types.
|
| org.htmlunit.xpath.operations |
Support for XPath operations, such as +, -, string(), etc.
|
| org.htmlunit.xpath.patterns |
Implementation of XPath nodeTest support, and XSLT pattern matching support.
|
| Modifier and Type | Method and Description |
|---|---|
static XObject |
XPathAPI.eval(Node contextNode,
String str)
Evaluate XPath string to an XObject.
|
static XObject |
XPathAPI.eval(Node contextNode,
String str,
Node namespaceNode)
Evaluate XPath string to an XObject.
|
static XObject |
XPathAPI.eval(Node contextNode,
String str,
PrefixResolver prefixResolver)
Evaluate XPath string to an XObject.
|
abstract XObject |
Expression.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
Expression.execute(XPathContext xctxt,
boolean destructiveOK)
Execute an expression in the XPath runtime context, and return the result of the expression,
but tell that a "safe" object doesn't have to be returned.
|
XObject |
Expression.execute(XPathContext xctxt,
int currentNode)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
Expression.execute(XPathContext xctxt,
int currentNode,
DTM dtm,
int expType)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
XPath.execute(XPathContext xctxt,
int contextNode,
PrefixResolver namespaceContext)
Given an expression and a context, evaluate the XPath and return the result.
|
XObject |
XPath.execute(XPathContext xctxt,
Node contextNode,
PrefixResolver namespaceContext)
Given an expression and a context, evaluate the XPath and return the result.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NodeSequence
This class is the dynamic wrapper for a Xalan DTMIterator instance, and provides random access
capabilities.
|
| Modifier and Type | Method and Description |
|---|---|
XObject |
LocPathIterator.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
| Modifier and Type | Method and Description |
|---|---|
XObject |
FuncTrue.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncTranslate.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
Function.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncSum.execute(XPathContext xctxt)
Execute the function.
|
XObject |
FuncSubstringBefore.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncSubstringAfter.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncSubstring.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncStringLength.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncString.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncStartsWith.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncRound.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncQname.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncPosition.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncNumber.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncNot.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncNormalizeSpace.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncNamespace.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncLocalPart.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncLast.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncLang.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncId.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncFloor.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncFalse.execute(XPathContext xctxt)
Execute the function.
|
XObject |
FuncCount.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncContains.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncConcat.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncCeiling.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FuncBoolean.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XBoolean
This class represents an XPath boolean object, and is capable of converting the boolean to other
types, such as a string.
|
class |
XNodeSet
This class represents an XPath nodeset object, and is capable of converting the nodeset to other
types, such as a string.
|
class |
XNumber
This class represents an XPath number, and is capable of converting the number to other types,
such as a string.
|
class |
XString
This class represents an XPath string object, and is capable of converting the string to other
types, such as a number.
|
| Modifier and Type | Method and Description |
|---|---|
XObject |
XObject.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
XNodeSet.compare(XObject obj2,
org.htmlunit.xpath.objects.Comparator comparator)
Tell if one object is less than the other.
|
boolean |
XString.equals(XObject obj2)
Tell if two objects are functionally equal.
|
boolean |
XObject.equals(XObject obj2)
Tell if two objects are functionally equal.
|
boolean |
XNumber.equals(XObject obj2)
Tell if two objects are functionally equal.
|
boolean |
XNodeSet.equals(XObject obj2)
Tell if two objects are functionally equal.
|
boolean |
XBoolean.equals(XObject obj2)
Tell if two objects are functionally equal.
|
boolean |
XObject.greaterThan(XObject obj2)
Tell if one object is greater than the other.
|
boolean |
XNodeSet.greaterThan(XObject obj2)
Tell if one object is greater than the other.
|
boolean |
XObject.greaterThanOrEqual(XObject obj2)
Tell if one object is greater than or equal to the other.
|
boolean |
XNodeSet.greaterThanOrEqual(XObject obj2)
Tell if one object is greater than or equal to the other.
|
boolean |
XObject.lessThan(XObject obj2)
Tell if one object is less than the other.
|
boolean |
XNodeSet.lessThan(XObject obj2)
Tell if one object is less than the other.
|
boolean |
XObject.lessThanOrEqual(XObject obj2)
Tell if one object is less than or equal to the other.
|
boolean |
XNodeSet.lessThanOrEqual(XObject obj2)
Tell if one object is less than or equal to the other.
|
boolean |
XObject.notEquals(XObject obj2)
Tell if two objects are functionally not equal.
|
boolean |
XNodeSet.notEquals(XObject obj2)
Tell if two objects are functionally not equal.
|
| Modifier and Type | Method and Description |
|---|---|
XObject |
UnaryOperation.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
Or.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
Operation.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
And.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
abstract XObject |
UnaryOperation.operate(XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
String.operate(XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Number.operate(XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Neg.operate(XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Bool.operate(XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Plus.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Operation.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
NotEquals.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Mult.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Mod.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Minus.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Lte.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Lt.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Gte.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Gt.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Equals.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Div.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
| Modifier and Type | Method and Description |
|---|---|
abstract XObject |
UnaryOperation.operate(XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
String.operate(XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Number.operate(XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Neg.operate(XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Bool.operate(XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Plus.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Operation.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
NotEquals.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Mult.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Mod.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Minus.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Lte.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Lt.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Gte.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Gt.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Equals.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
XObject |
Div.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
| Modifier and Type | Method and Description |
|---|---|
XObject |
UnionPattern.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
StepPattern.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
NodeTest.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FunctionPattern.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
ContextMatchStepPattern.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
StepPattern.execute(XPathContext xctxt,
int currentNode)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
NodeTest.execute(XPathContext xctxt,
int context)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FunctionPattern.execute(XPathContext xctxt,
int context)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
StepPattern.execute(XPathContext xctxt,
int currentNode,
DTM dtm,
int expType)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
NodeTest.execute(XPathContext xctxt,
int context,
DTM dtm,
int expType)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
FunctionPattern.execute(XPathContext xctxt,
int context,
DTM dtm,
int expType)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
protected XObject |
StepPattern.executeRelativePathPattern(XPathContext xctxt,
DTM dtm,
int currentNode)
Execute the match pattern step relative to another step.
|
Copyright © 2022–2024 HtmlUnit. All rights reserved.