public class UnionPattern extends Expression
| Constructor and Description |
|---|
UnionPattern() |
| Modifier and Type | Method and Description |
|---|---|
void |
callVisitors(XPathVisitor visitor)
This will traverse the hierarchy, calling the visitor for each member.
|
boolean |
canTraverseOutsideSubtree()
Tell if this expression or it's subexpressions can traverse outside the current subtree.
|
boolean |
deepEquals(Expression expr)
Compare this object with another object and see if they are equal, include the sub heararchy.
|
XObject |
execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
void |
setPatterns(StepPattern[] patterns)
Set the contained step patterns to be tested.
|
asIterator, asNode, assertion, bool, error, execute, execute, execute, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumber, numpublic boolean canTraverseOutsideSubtree()
canTraverseOutsideSubtree in class Expressionpublic void setPatterns(StepPattern[] patterns)
patterns - the contained step patterns to be tested.public XObject execute(XPathContext xctxt) throws TransformerException
execute in class Expressionxctxt - The XPath runtime context.XObject.TransformerException - if a runtime exception occurs.public void callVisitors(XPathVisitor visitor)
visitor - The visitor whose appropriate method will be called.public boolean deepEquals(Expression expr)
deepEquals in class Expressionexpr - Another expression object.Copyright © 2022–2024 HtmlUnit. All rights reserved.