Table 22-2 summarizes the methods of available through the Compiler interface.
Table 22-2 Summary of Compiler Methods; Xsl Package
| Function | Summary |
|---|---|
| compile
|
Compile Xsl and return its compiled binary representation. |
| getCompilerId
|
Get compiler's Id. |
| getLength
|
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