Package org.apache.xalan.xsltc.trax
Class TemplatesImpl
java.lang.Object
org.apache.xalan.xsltc.trax.TemplatesImpl
- All Implemented Interfaces:
Serializable
,Templates
- Author:
- Morten Jorgensen, G. Todd Millerj, Jochen Cordes <Jochen.Cordes@t-online.de>, Santiago Pericas-Geertsen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionImplements JAXP's Templates.getOutputProperties().Return the thread local copy of the stylesheet DOM.byte[][]
Returns the translet bytecodes stored in this templateClass[]
Returns the translet bytecodes stored in this templateint
Returns the index of the main class in array of bytecodesImplements JAXP's Templates.newTransformer()void
setStylesheetDOM
(DOM sdom) Set the thread local copy of the stylesheet DOM.void
setURIResolver
(URIResolver resolver) Store URIResolver needed for Transformers.
-
Constructor Details
-
TemplatesImpl
public TemplatesImpl()Need for de-serialization, see readObject().
-
-
Method Details
-
setURIResolver
Store URIResolver needed for Transformers. -
getTransletBytecodes
public byte[][] getTransletBytecodes()Returns the translet bytecodes stored in this template -
getTransletClasses
Returns the translet bytecodes stored in this template -
getTransletIndex
public int getTransletIndex()Returns the index of the main class in array of bytecodes -
newTransformer
Implements JAXP's Templates.newTransformer()- Specified by:
newTransformer
in interfaceTemplates
- Throws:
TransformerConfigurationException
-
getOutputProperties
Implements JAXP's Templates.getOutputProperties(). We need to instanciate a translet to get the output settings, so we might as well just instanciate a Transformer and use its implementation of this method.- Specified by:
getOutputProperties
in interfaceTemplates
-
getStylesheetDOM
Return the thread local copy of the stylesheet DOM. -
setStylesheetDOM
Set the thread local copy of the stylesheet DOM.
-