Class Index | File Index

Classes


Class xrx.xpath.Context


Defined in: context.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
xrx.xpath.Context(node, opt_position, opt_last)
Provides information for where something is in the XML tree.
Method Summary
Method Attributes Method Name and Description
 
Returns the last field for this context object.
 
Returns the node for this context object.
 
Returns the position for this context object.
Class Detail
xrx.xpath.Context(node, opt_position, opt_last)
Provides information for where something is in the XML tree.
Parameters:
{!xrx.node} node
A node in the XML tree.
{number=} opt_position
The position of this node in its nodeset, defaults to 1.
{number=} opt_last
Index of the last node in this nodeset, defaults to 1.
Method Detail
{number} getLast()
Returns the last field for this context object.
Returns:
{number} The last field for this context object.

{!xrx.node} getNode()
Returns the node for this context object.
Returns:
{!xrx.node} The node for this context object.

{number} getPosition()
Returns the position for this context object.
Returns:
{number} The position for this context object.

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