Compiler Interface

Table 8-3 summarizes the methods available through the Compiler interface.

Table 8-3 Summary of Compiler Methods; XPath Package

Function Summary

compile()

Compile XPath and return its compiled binary representation.

getCompilerId()

Get the compiler's Id



compile()

Compiles XPath and returns its compiled binary representation.

Syntax

virtual ub2* compile (
   oratext* xpath_exp)
throw (XPathException) = 0;
Parameter Description
xpath_exp
XPATH expression

Returns

(ub2) XPath expression in compiled binary representation


getCompilerId()

Get compiler's id.

Syntax

virtual XPathCompIdType getCompilerId() const = 0;

Returns

(XPathCompIdType) Compiler's Id