com.caucho.xsl
Class StringTransformerImpl

java.lang.Object
  extended by javax.xml.transform.Transformer
      extended by com.caucho.xsl.TransformerImpl
          extended by com.caucho.xsl.StringTransformerImpl

public class StringTransformerImpl
extends TransformerImpl

Transforms a document to a result string.


Field Summary
protected  LineMap _lineMap
           
 
Fields inherited from class com.caucho.xsl.TransformerImpl
_cacheDepends, _parameters, _properties, _stylesheet, CACHE_DEPENDS, GENERATE_LOCATION, L, LINE_MAP
 
Method Summary
 java.lang.Object getProperty(java.lang.String name)
           
 java.lang.String transform(java.io.InputStream source)
           
 java.lang.String transform(org.w3c.dom.Node node)
          Transform a node, producing an output string.
 java.lang.String transform(java.lang.String systemId)
           
 java.lang.String transformString(java.lang.String source)
           
 
Methods inherited from class com.caucho.xsl.TransformerImpl
addCacheDepend, addCacheDepend, addFunction, clearParameters, getCacheDepends, getErrorListener, getFeature, getOutputProperties, getOutputProperty, getParameter, getStylesheet, getURIResolver, parseDocument, parseDocument, parseDocument, parseStringDocument, setErrorListener, setFeature, setOutputProperties, setOutputProperty, setParameter, setProperty, setURIResolver, transform, transform, transform, transform, transform
 
Methods inherited from class javax.xml.transform.Transformer
reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_lineMap

protected LineMap _lineMap
Method Detail

getProperty

public java.lang.Object getProperty(java.lang.String name)
Overrides:
getProperty in class TransformerImpl

transform

public java.lang.String transform(java.io.InputStream source)
                           throws org.xml.sax.SAXException,
                                  java.io.IOException
Throws:
org.xml.sax.SAXException
java.io.IOException

transform

public java.lang.String transform(java.lang.String systemId)
                           throws org.xml.sax.SAXException,
                                  java.io.IOException
Throws:
org.xml.sax.SAXException
java.io.IOException

transformString

public java.lang.String transformString(java.lang.String source)
                                 throws org.xml.sax.SAXException,
                                        java.io.IOException
Throws:
org.xml.sax.SAXException
java.io.IOException

transform

public java.lang.String transform(org.w3c.dom.Node node)
                           throws org.xml.sax.SAXException,
                                  java.io.IOException
Transform a node, producing an output string.

Parameters:
node - the input node to transform
Returns:
the resulting string.
Throws:
org.xml.sax.SAXException
java.io.IOException