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. |
Get processor Id.
virtual XPathPrIdType getProcessorId() const = 0;
(XPathPrIdType)
Processor's Id
Inherited from Processor.
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
Evaluates compiled XPath expression against given document.
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 |
(XPathGenObject*)
XPath object