|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.s9api.XsltExecutable
public class XsltExecutable
An XsltExecutable represents the compiled form of a stylesheet.
To execute the stylesheet, it must first be loaded to form an XsltTransformer
.
An XsltExecutable is immutable, and therefore thread-safe. It is simplest to load a new XsltTransformer each time the stylesheet is to be run. However, the XsltTransformer is serially reusable within a single thread.
An XsltExecutable is created by using one of the compile
methods on the
XsltCompiler
class.
Constructor Summary | |
---|---|
protected |
XsltExecutable(Processor processor,
PreparedStylesheet pss)
|
Method Summary | |
---|---|
void |
explain(Destination destination)
Produce a diagnostic representation of the compiled stylesheet, in XML form. |
PreparedStylesheet |
getUnderlyingCompiledStylesheet()
Get the underlying implementation object representing the compiled stylesheet. |
XsltTransformer |
load()
Load the stylesheet to prepare it for execution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected XsltExecutable(Processor processor, PreparedStylesheet pss)
Method Detail |
---|
public XsltTransformer load()
public void explain(Destination destination) throws SaxonApiException
The detailed form of this representation is not stable (or even documented).
destination
- the destination for the XML document containing the diagnostic representation
of the compiled stylesheet
SaxonApiException
public PreparedStylesheet getUnderlyingCompiledStylesheet()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |