Class Index | File Index

Classes


Class xrx.xpath.Step


Extends .

Defined in: step.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
xrx.xpath.Step(axis, test, opt_predicates, opt_descendants)
Class for a step in a path expression http://www.w3.org/TR/xpath20/#id-steps.
Field Summary
Field Attributes Field Name and Description
<static>  
xrx.xpath.Step.Axis
Axis enumeration.
Method Summary
Method Attributes Method Name and Description
 
Returns whether the step evaluation should include descendants.
 
evaluate(ctx)
 
Returns the step's axis.
<static>  
xrx.xpath.Step.getAxis(name)
Returns the axis for this axisname or null if none.
 
Returns the test for this step.
 
Class Detail
xrx.xpath.Step(axis, test, opt_predicates, opt_descendants)
Class for a step in a path expression http://www.w3.org/TR/xpath20/#id-steps.
Parameters:
{!xrx.xpath.Step.Axis} axis
The axis for this Step.
{!xrx.xpath.NodeTest} test
The test for this Step.
{!xrx.xpath.Predicates=} opt_predicates
The predicates for this Step.
{boolean=} opt_descendants
Whether descendants are to be included in this step ('//' vs '/').
Field Detail
<static> xrx.xpath.Step.Axis
Axis enumeration.
Method Detail
{boolean} doesIncludeDescendants()
Returns whether the step evaluation should include descendants.
Returns:
{boolean} Whether descendants are included.

{!xrx.xpath.NodeSet} evaluate(ctx)
Parameters:
ctx
Returns:
{!xrx.xpath.NodeSet} The nodeset result.

{!xrx.xpath.Step.Axis} getAxis()
Returns the step's axis.
Returns:
{!xrx.xpath.Step.Axis} The axis.

<static> {xrx.xpath.Step.Axis} xrx.xpath.Step.getAxis(name)
Returns the axis for this axisname or null if none.
Parameters:
{string} name
The axis name.
Returns:
{xrx.xpath.Step.Axis} The axis.

{!xrx.xpath.NodeTest} getTest()
Returns the test for this step.
Returns:
{!xrx.xpath.NodeTest} The test for this step.

toString()

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Oct 17 2013 17:08:44 GMT+0200 (MESZ)