Skip Headers

Oracle® XML API Reference
10g Release 1 (10.1)
Part No. B10789-01
  Go To Table Of Contents
Contents

Previous Next  

Compiler Interface

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


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