Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members  

judo::XPath::Query Class Reference

Represents a single XPath query string. More...

#include <XPath.h>

List of all members.

Public Member Functions

bool check (const judo::Element &root)
 Check to see if the query would match on the given root.

Valueexecute (judo::Element *root)
 Execute the query on the given element and return the result set.


Detailed Description

Represents a single XPath query string.

Definition at line 214 of file XPath.h.


Member Function Documentation

bool Query::check const judo::Element   root
 

Check to see if the query would match on the given root.

Parameters:
root The element to check against.
Returns:
true if the element would match the query.

Definition at line 273 of file XPath.cpp.

References judo::XPath::Value::check(), and execute().

Value * Query::execute judo::Element   root
 

Execute the query on the given element and return the result set.

Parameters:
root 
Returns:
A Value object that can be used to retrieve the result.

Definition at line 282 of file XPath.cpp.

References judo::XPath::Value::setMatch().

Referenced by check().


The documentation for this class was generated from the following files:
Generated on Thu Jul 24 13:31:57 2003 for jabberoo by doxygen1.3-rc3