Skip Headers

Oracle® XML API Reference 10g Release 1 (10.1) Part No. B10789-01 |
| Contents

## Processor Interface

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.

### 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