Back to index

lightning-sunbird  0.9+nobinonly
Classes | Public Member Functions | Private Attributes
nsXPathEvaluator Class Reference

A class for evaluating an XPath expression string. More...

#include <nsXPathEvaluator.h>

Inheritance diagram for nsXPathEvaluator:
Inheritance graph
Collaboration diagram for nsXPathEvaluator:
Collaboration graph

List of all members.


class  ParseContextImpl

Public Member Functions

 nsXPathEvaluator ()
virtual ~nsXPathEvaluator ()
SetDocument (nsIDOMDocument *aDocument)
 Sets the document this evaluator corresponds to.
nsIDOMXPathExpression createExpression (in DOMString expression, in nsIDOMXPathNSResolver resolver) raises (XPathException, DOMException)
nsIDOMXPathNSResolver createNSResolver (in nsIDOMNode nodeResolver)
nsISupports evaluate (in DOMString expression, in nsIDOMNode contextNode, in nsIDOMXPathNSResolver resolver, in unsigned short type, in nsISupports result) raises (XPathException, DOMException)

Private Attributes

nsWeakPtr mDocument
nsRefPtr< txResultRecyclermRecycler

Detailed Description

A class for evaluating an XPath expression string.

Definition at line 54 of file nsXPathEvaluator.h.

Constructor & Destructor Documentation

Definition at line 69 of file nsXPathEvaluator.cpp.


Definition at line 73 of file nsXPathEvaluator.cpp.


Member Function Documentation

nsIDOMXPathExpression nsIDOMXPathEvaluator::createExpression ( in DOMString  expression,
in nsIDOMXPathNSResolver  resolver 
) raises (XPathException, DOMException) [inherited]
nsISupports nsIDOMXPathEvaluator::evaluate ( in DOMString  expression,
in nsIDOMNode  contextNode,
in nsIDOMXPathNSResolver  resolver,
in unsigned short  type,
in nsISupports  result 
) raises (XPathException, DOMException) [inherited]

Sets the document this evaluator corresponds to.

Implements nsIXPathEvaluatorInternal.

Definition at line 151 of file nsXPathEvaluator.cpp.

    mDocument = do_GetWeakReference(aDocument);
    return NS_OK;

Here is the call graph for this function:

Member Data Documentation

Definition at line 103 of file nsXPathEvaluator.h.

Definition at line 104 of file nsXPathEvaluator.h.

The documentation for this class was generated from the following files: