Table 20-3 summarizes the methods of available through the Compiler interface.
Table 20-3 Summary of Compiler Methods; XPath Package
| Function | Summary |
|---|---|
| compile
|
Compile XPath and return its compiled binary representation. |
| getCompilerId
|
Get the compiler's Id |
Compiles XPath and returns its compiled binary representation.
virtual ub2* compile ( oratext* xpath_exp) throw (XPathException) = 0;
| Parameter | Description |
|---|---|
xpath_exp |
XPATH expression |
(ub2) XPath expression in compiled binary representation
Get compiler's id.
virtual XPathCompIdType getCompilerId() const = 0;
(XPathCompIdType) Compiler's Id