org.apache.xpath.patterns
public class UnionPattern extends Expression
UNKNOWN: advanced
Method Summary | |
---|---|
void | callVisitors(ExpressionOwner owner, XPathVisitor visitor) |
boolean | canTraverseOutsideSubtree()
Tell if this expression or it's subexpressions can traverse outside
the current subtree.
|
boolean | deepEquals(Expression expr) |
XObject | execute(XPathContext xctxt)
Test a node to see if it matches any of the patterns in the union.
|
void | fixupVariables(Vector vars, int globalsSize)
No arguments to process, so this does nothing. |
StepPattern[] | getPatterns()
Get the contained step patterns to be tested.
|
void | setPatterns(StepPattern[] patterns)
Set the contained step patterns to be tested.
|
See Also: XPathVisitable
Returns: true if traversal outside the context node's subtree can occur.
See Also: deepEquals
Parameters: xctxt XPath runtime context.
Returns: SCORE_NODETEST, SCORE_NONE, SCORE_NSWILD, SCORE_QNAME, or SCORE_OTHER.
Throws: javax.xml.transform.TransformerException
Returns: an array of the contained step patterns to be tested.
Parameters: patterns the contained step patterns to be tested.