org.apache.xalan.xsltc.trax
Class TemplatesImpl

java.lang.Object
  |
  +--org.apache.xalan.xsltc.trax.TemplatesImpl

public final class TemplatesImpl
extends java.lang.Object
implements Templates, java.io.Serializable

See Also:
Serialized Form

Method Summary
 java.util.Properties getOutputProperties()
          Implements JAXP's Templates.getOutputProperties().
 byte[][] getTransletBytecodes()
          Returns the translet bytecodes stored in this template
 java.lang.Class[] getTransletClasses()
          Returns the translet bytecodes stored in this template
 int getTransletIndex()
          Returns the index of the main class in array of bytecodes
 Transformer newTransformer()
          Implements JAXP's Templates.newTransformer()
 void readExternal(java.io.ObjectInput in)
           
 void setURIResolver(URIResolver resolver)
          Store URIResolver needed for Transformers.
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException

setURIResolver

public void setURIResolver(URIResolver resolver)
Store URIResolver needed for Transformers.

getTransletBytecodes

public byte[][] getTransletBytecodes()
Returns the translet bytecodes stored in this template

getTransletClasses

public java.lang.Class[] 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

public Transformer newTransformer()
                           throws TransformerConfigurationException
Implements JAXP's Templates.newTransformer()
Specified by:
newTransformer in interface Templates
Throws:
TransformerConfigurationException -  

getOutputProperties

public java.util.Properties 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 interface Templates


Copyright © 2002 Apache XML Project. All Rights Reserved.