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