org.apache.xpath.patterns
Class UnionPattern
- java.io.Serializable, ExpressionNode, SourceLocator, XPathVisitable
public class UnionPattern
This class represents a union pattern, which can have multiple individual
StepPattern patterns.
- Serialized Form
asIterator , asIteratorRaw , asNode , assertion , bool , canTraverseOutsideSubtree , deepEquals , error , execute , execute , execute , execute , executeCharsToContentHandler , exprAddChild , exprGetChild , exprGetNumChildren , exprGetParent , exprSetParent , fixupVariables , getColumnNumber , getExpressionOwner , getLineNumber , getPublicId , getSystemId , isNodesetExpr , isStableNumber , num , warn , xstr |
canTraverseOutsideSubtree
public boolean canTraverseOutsideSubtree()
Tell if this expression or it's subexpressions can traverse outside
the current subtree.
- canTraverseOutsideSubtree in interface Expression
- true if traversal outside the context node's subtree can occur.
fixupVariables
public void fixupVariables(java.util.Vector vars,
int globalsSize)
No arguments to process, so this does nothing.
- fixupVariables in interface Expression
getPatterns
public StepPattern[] getPatterns()
Get the contained step patterns to be tested.
- an array of the contained step patterns to be tested.
setPatterns
public void setPatterns(StepPattern[] patterns)
Set the contained step patterns to be tested.
patterns
- the contained step patterns to be tested.
Copyright B) 2004 Apache XML Project. All Rights Reserved.