Class xrx.xpath.PathExpr
Extends
.
Defined in: pathExpr.js.
Constructor Attributes | Constructor Name and Description |
---|---|
xrx.xpath.PathExpr(filter, steps)
Constructor for PathExpr.
|
Method Attributes | Method Name and Description |
---|---|
evaluate(ctx)
|
|
<static> |
xrx.xpath.PathExpr.isValidOp(token)
Returns whether the token is a valid PathExpr operator.
|
toString()
|
Class Detail
xrx.xpath.PathExpr(filter, steps)
Constructor for PathExpr.
- Parameters:
- {!xrx.xpath.Expr} filter
- A filter expression.
- {!Array.} steps
- The steps in the location path.
Method Detail
{!xrx.xpath.NodeSet}
evaluate(ctx)
- Parameters:
- ctx
- Returns:
- {!xrx.xpath.NodeSet} The nodeset result.
<static>
{boolean}
xrx.xpath.PathExpr.isValidOp(token)
Returns whether the token is a valid PathExpr operator.
- Parameters:
- {string} token
- The token to be checked.
- Returns:
- {boolean} Whether the token is a valid operator.
toString()