|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.exolab.adaptx.xpath.expressions.UnionExpr
An abstract class that represents an XPath Union expression
UnionExpr ::= PathExpr | (PathExpr '|' UnionExpr)
| Field Summary |
|---|
| Fields inherited from interface org.exolab.adaptx.xpath.XPathExpression |
|---|
BOOLEAN, ERROR, FILTER_EXPR, LOCATION_PATH, NODE_TEST, NUMBER, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR |
| Constructor Summary | |
|---|---|
UnionExpr()
|
|
| Method Summary | |
|---|---|
short |
getExprType()
Returns the type of Expr this Expr represents |
PathExpr |
getMatchingExpr(XPathNode node,
XPathContext context)
Retrieves the PathExpr that matches the given node. |
abstract PathExpr |
getPathExpr()
Returns the PathExpr of this UnionExpr. |
abstract UnionExpr |
getUnionExpr()
Returns the UnionExpr that this UnionExpr is in union with. |
abstract boolean |
matches(XPathNode node,
XPathContext context)
Determines if the given node is matched by this MatchExpr with respect to the given context. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.exolab.adaptx.xpath.XPathExpression |
|---|
evaluate, toString |
| Constructor Detail |
public UnionExpr()
| Method Detail |
public abstract PathExpr getPathExpr()
UnionExpr ::= PathExpr | (PathExpr '|' UnionExpr)
public abstract UnionExpr getUnionExpr()
UnionExpr ::= PathExpr | (PathExpr '|' UnionExpr)
getPathExpr()public final short getExprType()
getExprType in interface XPathExpression
public PathExpr getMatchingExpr(XPathNode node,
XPathContext context)
throws XPathException
node - the node to test for matching
XPathException
public abstract boolean matches(XPathNode node,
XPathContext context)
throws XPathException
matches in interface MatchExpressionnode - the node to determine a match forcontext - the XPathContext
XPathException - when an error occurs during
evaluation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||