com.caucho.xsl
Class StreamTransformerImpl

java.lang.Object
  |
  +--com.caucho.xsl.TransformerImpl
        |
        +--com.caucho.xsl.StreamTransformerImpl
All Implemented Interfaces:
StreamTransformer, Transformer

public class StreamTransformerImpl
extends TransformerImpl
implements StreamTransformer


Field Summary
protected  com.caucho.java.LineMap lineMap
           
 
Fields inherited from class com.caucho.xsl.TransformerImpl
CACHE_DEPENDS, cacheDepends, LINE_MAP, parameters, properties, stylesheet
 
Method Summary
 java.lang.Object getProperty(java.lang.String name)
          Gets a transformer/stylesheet property.
 void transform(java.io.InputStream source, java.io.OutputStream os)
          Transforms an input stream to the output stream.
 void transform(Node node, java.io.OutputStream os)
          Transforms a DOM node to the output stream.
 void transform(java.lang.String systemId, java.io.OutputStream os)
          Transforms a file to the output stream.
 void transformString(java.lang.String source, java.io.OutputStream os)
          Transforms a string to the output stream.
 
Methods inherited from class com.caucho.xsl.TransformerImpl
addCacheDepend, addCacheDepend, addFunction, getCacheDepends, getFeature, getParameter, parseDocument, parseDocument, parseStringDocument, reset, setFeature, setParameter, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.caucho.transform.Transformer
addFunction, getFeature, getParameter, setFeature, setParameter, setProperty
 

Field Detail

lineMap

protected com.caucho.java.LineMap lineMap
Method Detail

getProperty

public java.lang.Object getProperty(java.lang.String name)
Description copied from interface: Transformer
Gets a transformer/stylesheet property.
Specified by:
getProperty in interface Transformer
Overrides:
getProperty in class TransformerImpl
Following copied from interface: com.caucho.transform.Transformer
Parameters:
name - name of the property

transform

public void transform(java.io.InputStream source,
                      java.io.OutputStream os)
               throws SAXException,
                      java.io.IOException
Description copied from interface: StreamTransformer
Transforms an input stream to the output stream.
Specified by:
transform in interface StreamTransformer
Following copied from interface: com.caucho.transform.StreamTransformer
Parameters:
source - an input stream for an XML document.
os - the destination output stream.

transform

public void transform(java.lang.String systemId,
                      java.io.OutputStream os)
               throws SAXException,
                      java.io.IOException
Description copied from interface: StreamTransformer
Transforms a file to the output stream.
Specified by:
transform in interface StreamTransformer
Following copied from interface: com.caucho.transform.StreamTransformer
Parameters:
systemId - name of a file to parse as an XML document.
os - the destination output stream.

transformString

public void transformString(java.lang.String source,
                            java.io.OutputStream os)
                     throws SAXException,
                            java.io.IOException
Description copied from interface: StreamTransformer
Transforms a string to the output stream.
Specified by:
transformString in interface StreamTransformer
Following copied from interface: com.caucho.transform.StreamTransformer
Parameters:
source - A string to be parsed as XML as the source.
os - the destination output stream.

transform

public void transform(Node node,
                      java.io.OutputStream os)
               throws SAXException,
                      java.io.IOException
Description copied from interface: StreamTransformer
Transforms a DOM node to the output stream.
Specified by:
transform in interface StreamTransformer
Following copied from interface: com.caucho.transform.StreamTransformer
Parameters:
node - A DOM node to be transformed.
os - the destination output stream.