| 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 | Class and Description |
|---|---|
class |
Expression
This abstract class serves as the base for all expression objects.
|
| Modifier and Type | Method and Description |
|---|---|
ExpressionNode |
ExpressionNode.exprGetParent() |
ExpressionNode |
Expression.exprGetParent() |
ExpressionNode |
Expression.getExpressionOwner()
Get the first non-Expression parent of this node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExpressionNode.exprSetParent(ExpressionNode n)
This pair of methods are used to inform the node of its parent.
|
void |
Expression.exprSetParent(ExpressionNode n)
This pair of methods are used to inform the node of its parent.
|
| Modifier and Type | Class and Description | ||
|---|---|---|---|
class |
AttributeIterator
This class implements an optimized iterator for attribute axes patterns.
|
||
class |
AxesWalker
Serves as common interface for axes Walkers, and stores common state variables.
|
||
class |
BasicTestIterator
Base for iterators that handle predicates.
|
||
class |
ChildIterator
This class implements an optimized iterator for "node()" patterns, that is, any children of the
context node.
|
||
class |
ChildTestIterator
This class implements an optimized iterator for children patterns that have a node test, and
possibly a predicate.
|
||
class |
DescendantIterator
This class implements an optimized iterator for descendant, descendant-or-self, or "//foo"
patterns.
|
||
class |
FilterExprWalker
Walker for the OP_VARIABLE, or OP_FUNCTION, or OP_GROUP, op codes.
|
||
class |
LocPathIterator
This class extends NodeSetDTM, which implements NodeIterator, and fetches nodes one at a time in
document order based on a XPath. see class NodeSequence
This class is the dynamic wrapper for a Xalan DTMIterator instance, and provides random access
capabilities.
| ||
class |
OneStepIterator
This class implements a general iterator for those LocationSteps with only one step, and perhaps
a predicate.
|
||
class |
OneStepIteratorForward
This class implements a general iterator for those LocationSteps with only one step, and perhaps
a predicate, that only go forward (i.e.
|
||
class |
PredicatedNodeTest |
||
class |
ReverseAxesWalker
Walker for a reverse axes.
|
||
class |
SelfIteratorNoPredicate
This class implements an optimized iterator for "." patterns, that is, the self axes without any
predicates.
|
||
class |
UnionChildIterator
This class defines a simplified type of union iterator that only tests along the child axes.
|
||
class |
UnionPathIterator
This class extends NodeSetDTM, which implements DTMIterator, and fetches nodes one at a time in
document order based on a XPath UnionExpr.
|
||
class |
WalkingIterator
Location path iterator that uses Walkers.
|
||
class |
WalkingIteratorSorted
This class iterates over set of nodes that needs to be sorted.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FuncBoolean
Execute the Boolean() function.
|
class |
FuncCeiling
Execute the Ceiling() function.
|
class |
FuncConcat
Execute the Concat() function.
|
class |
FuncContains
Execute the Contains() function.
|
class |
FuncCount
Execute the Count() function.
|
class |
FuncFalse
Execute the False() function.
|
class |
FuncFloor
Execute the Floor() function.
|
class |
FuncId
Execute the Id() function.
|
class |
FuncLang
Execute the Lang() function.
|
class |
FuncLast
Execute the Last() function.
|
class |
FuncLocalPart
Execute the LocalPart() function.
|
class |
FuncNamespace
Execute the Namespace() function.
|
class |
FuncNormalizeSpace
Execute the normalize-space() function.
|
class |
FuncNot
Execute the Not() function.
|
class |
FuncNumber
Execute the Number() function.
|
class |
FuncPosition
Execute the Position() function.
|
class |
FuncQname
Execute the Qname() function.
|
class |
FuncRound
Execute the round() function.
|
class |
FuncStartsWith
Execute the StartsWith() function.
|
class |
FuncString
Execute the String() function.
|
class |
FuncStringLength
Execute the StringLength() function.
|
class |
FuncSubstring
Execute the Substring() function.
|
class |
FuncSubstringAfter
Execute the SubstringAfter() function.
|
class |
FuncSubstringBefore
Execute the SubstringBefore() function.
|
class |
FuncSum
Execute the Sum() function.
|
class |
Function
This is a superclass of all XPath functions.
|
class |
Function2Args
Base class for functions that accept two arguments.
|
class |
Function3Args
Base class for functions that accept three arguments.
|
class |
FunctionDef1Arg
Base class for functions that accept one argument that can be defaulted if not specified.
|
class |
FunctionMultiArgs
Base class for functions that accept an undetermined number of multiple arguments.
|
class |
FunctionOneArg
Base class for functions that accept one argument.
|
class |
FuncTranslate
Execute the Translate() function.
|
class |
FuncTrue
Execute the True() function.
|
| 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 |
XObject
This class represents an XPath object, and is capable of converting the object to various 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 | Class and Description |
|---|---|
class |
And
The 'and' operation expression executor.
|
class |
Bool
The 'boolean()' operation expression executer.
|
class |
Div
The 'div' operation expression executer.
|
class |
Equals
The '=' operation expression executer.
|
class |
Gt
The '>' operation expression executor.
|
class |
Gte
The '>=' operation expression executor.
|
class |
Lt
The '<' operation expression executor.
|
class |
Lte
The '<=' operation expression executor.
|
class |
Minus
The binary '-' operation expression executer.
|
class |
Mod
The 'mod' operation expression executer.
|
class |
Mult
The '*' operation expression executer.
|
class |
Neg
The unary '-' operation expression executer.
|
class |
NotEquals
The '!=' operation expression executer.
|
class |
Number
The 'number()' operation expression executer.
|
class |
Operation
The baseclass for a binary operation.
|
class |
Or
The 'or' operation expression executer.
|
class |
Plus
The '+' operation expression executer.
|
class |
String
The 'string()' operation expression executer.
|
class |
UnaryOperation
The unary operation base class.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ContextMatchStepPattern
Special context node pattern matcher.
|
class |
FunctionPattern
Match pattern step that contains a function.
|
class |
NodeTest
This is the basic node test class for both match patterns and location path steps.
|
class |
StepPattern
This class represents a single pattern match step.
|
class |
UnionPattern
This class represents a union pattern, which can have multiple individual StepPattern patterns.
|
Copyright © 2022–2023 HtmlUnit. All rights reserved.