Processor Interface

Table 8-5 summarizes the methods available through the Processor interface.

Table 8-5 Summary of Processor Methods; XPath Package

Function Summary

getProcessorId()

Get processor's Id.

process()

Evaluate XPath expression against given document.



getProcessorId()

Get processor Id.

Syntax

virtual XPathPrIdType getProcessorId() const = 0;

Returns

(XPathPrIdType) Processor's Id


process()

Evaluates XPath expression against given document and returns result XPath object.

Syntax

virtual XPathObject< Node>* process (
   InputSource* isrc_ptr,
   oratext* xpath_exp)
throw (XPathException) = 0;
Parameter Description
isrc_ptr
instance document to process
xpath_exp
XPath expression

Returns

(XPathGenObject*) XPath object