Class mozile.xpath

Object
   |
   +--mozile.Module
         |
         +--mozile.xpath

class mozile.xpath
extends mozile.Module

 
Method Summary
<static> Array evaluate(<String> expression, root)
           Evaluates an XPath expression in the context of the document or a node.
<static> Object getComponent(<String> expression)
           Takes a simple XPath expression and returns an object with "name", "localName", and "position" properties for the last node in the path.
<static> Array getComponents(<String> expression)
           Takes an XPath expression, splits it at "/" characters, and returns a cleaned array.
<static> Node getNode(<String> expression, <Node> root)
           A basic XPath processor.
<static> String getXPath(<Node> node, <Node> root)
           Returns a simple unique XPath location for the given node.


Method Detail

evaluate

<static> Array evaluate(<String> expression, root)

getComponent

<static> Object getComponent(<String> expression)

getComponents

<static> Array getComponents(<String> expression)

getNode

<static> Node getNode(<String> expression, <Node> root)

getXPath

<static> String getXPath(<Node> node, <Node> root)


Documentation generated by JSDoc on Wed Aug 23 18:45:51 2006