Skip Headers

Oracle® XML API Reference
10g Release 1 (10.1)
Part No. B10789-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents

Previous Next  

CompProcessor Interface

Table 20-2 summarizes the methods of available through the CompProcessor interface.

Table 20-2 Summary of CompProcessor Methods; XPath Package

Function Summary
getProcessorId
Get processor's Id.
process
Evaluate XPath expression against given document.
processWithBinXPath
Evaluate compiled XPath expression against given document.


getProcessorId

Get processor Id.


Syntax
virtual XPathPrIdType getProcessorId() const = 0;


Returns

(XPathPrIdType) Processor's Id


process

Inherited from Processor.


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


processWithBinXPath

Evaluates compiled XPath expression against given document.


Syntax
virtual XPathObject< Node>* processWithBinXPath (
   InputSource* isrc_ptr, 
   ub2* bin_xpath)
throw (XPathException) = 0;

Parameter Description
isrc_ptr
instance document to process
bin_xpath
compiled XPATH expression


Returns

(XPathGenObject*) XPath object