Table 10-2 summarizes the methods available through the Compiler interface.
Table 10-2 Summary of Compiler Methods; Xsl Package
| Function | Summary | 
|---|---|
| 
 Compile Xsl and return its compiled binary representation.  | 
|
| 
 Get compiler's Id.  | 
|
| 
 Get length of compiled XSL document.  | 
Compiles Xsl and returns its compiled binary representation.
virtual ub2* compile( InputSource* isrc_ptr) throw (XslException) = 0;
| Parameter | Description | 
|---|---|
isrc_ptr  | 
Xsl document | 
(InputSource) Xsl document in compiled binary representation
Get the compiler Id.
virtual XslCompIdType getCompilerId() const = 0;
(XslCompIdType) Compiler's Id
Returns length of compiled XSL document
virtual ub4 getLength( ub2* binxsl_ptr) throw (XslException) = 0;
| Parameter | Description | 
|---|---|
binxsl_ptr  | 
compiled Xsl document | 
(ub4) length of the document