Processor Interface

Table 9-2 summarizes the methods available through the Processor interface.

Table 9-2 Summary of Processor Methods; XPointer Package

Function Summary

getProcessorId()

Get processor's Id.

process()

Evaluate XPointer expression against given document.



getProcessorId()

Get Processor Id.

Syntax

virtual XppPrIdType getProcessorId() const = 0;

Returns

(XppPrIdType) Processor's Id


process()

Evaluates XPointer expression against given document and returns result XPointer location set object.

Syntax

virtual XppLocSet< Node>* process (
   InputSource* isrc_ptr,
   oratext* xpp_exp)
throw (XppException) = 0;
Parameter Description
isrc_ptr
instance document to process
xpp_exp
XPointer expression

Returns

(XppLocSet*) XPath object