Table 21-2 summarizes the methods of available through the Processor interface.
Table 21-2 Summary of Processor Methods; XPointer Package
| Function | Summary |
|---|---|
| getProcessorId
|
Get processor's Id. |
| process
|
Evaluate XPointer expression against given document. |
Get Processor Id.
virtual XppPrIdType getProcessorId() const = 0;
(XppPrIdType) Processor's Id
Evaluates XPointer expression against given document and returns result XPointer location set object.
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 |
(XppLocSet*) XPath object