|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.trans.CompilerInfo
public class CompilerInfo
This class exists to hold information associated with a specific XSLT compilation episode. In JAXP, the URIResolver and ErrorListener used during XSLT compilation are those defined in the TransformerFactory. The .NET API, however, allows finer granularity, and this class exists to support that.
Constructor Summary | |
---|---|
CompilerInfo()
|
Method Summary | |
---|---|
ErrorListener |
getErrorListener()
Get the ErrorListener being used during this compilation episode |
URIResolver |
getURIResolver()
Get the URI Resolver being used in this compilation episode. |
boolean |
isCompileWithTracing()
Determine whether trace hooks are included in the compiled code. |
void |
setCompileWithTracing(boolean trueOrFalse)
Set whether trace hooks are to be included in the compiled code. |
void |
setErrorListener(ErrorListener listener)
Set the ErrorListener to be used during this compilation episode |
void |
setURIResolver(URIResolver resolver)
Set the URI Resolver to be used in this compilation episode. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompilerInfo()
Method Detail |
---|
public void setURIResolver(URIResolver resolver)
resolver
- The URIResolver to be used. This is used to dereference URIs encountered in constructs
such as xsl:include, xsl:import, and xsl:import-schema.public URIResolver getURIResolver()
public void setErrorListener(ErrorListener listener)
listener
- The error listener to be used. This is notified of all errors detected during the
compilation.public ErrorListener getErrorListener()
public void setCompileWithTracing(boolean trueOrFalse)
trueOrFalse
- true if trace code is to be compiled in, false otherwisepublic boolean isCompileWithTracing()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |