com.sun.xml.messaging.saaj.util.transform
Class EfficientStreamingTransformer
java.lang.Object
javax.xml.transform.Transformer
com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer
public class EfficientStreamingTransformer
- extends Transformer
This class is a proxy for a Transformer object with optimizations
for certain cases. If source and result are of type stream, then
bytes are simply copied whenever possible (note that this assumes
that the input is well formed). In addition, it provides support for
FI using native DOM parsers and serializers.
- Author:
- Panos Kougiouris panos@acm.org, Santiago.PericasGeertsen@sun.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clearParameters
public void clearParameters()
- Specified by:
clearParameters in class Transformer
getErrorListener
public ErrorListener getErrorListener()
- Specified by:
getErrorListener in class Transformer
getOutputProperties
public Properties getOutputProperties()
- Specified by:
getOutputProperties in class Transformer
getOutputProperty
public String getOutputProperty(String str)
throws IllegalArgumentException
- Specified by:
getOutputProperty in class Transformer
- Throws:
IllegalArgumentException
getParameter
public Object getParameter(String str)
- Specified by:
getParameter in class Transformer
getURIResolver
public URIResolver getURIResolver()
- Specified by:
getURIResolver in class Transformer
setErrorListener
public void setErrorListener(ErrorListener errorListener)
throws IllegalArgumentException
- Specified by:
setErrorListener in class Transformer
- Throws:
IllegalArgumentException
setOutputProperties
public void setOutputProperties(Properties properties)
throws IllegalArgumentException
- Specified by:
setOutputProperties in class Transformer
- Throws:
IllegalArgumentException
setOutputProperty
public void setOutputProperty(String str,
String str1)
throws IllegalArgumentException
- Specified by:
setOutputProperty in class Transformer
- Throws:
IllegalArgumentException
setParameter
public void setParameter(String str,
Object obj)
- Specified by:
setParameter in class Transformer
setURIResolver
public void setURIResolver(URIResolver uRIResolver)
- Specified by:
setURIResolver in class Transformer
transform
public void transform(Source source,
Result result)
throws TransformerException
- Specified by:
transform in class Transformer
- Throws:
TransformerException
newTransformer
public static Transformer newTransformer()
- Return Transformer instance for this thread, allocating a new one if
necessary. Note that this method does not clear global parameters,
properties or any other data set on a previously used transformer.
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.