gnu.xml.libxmlj.transform

Class GnomeTransformer

Implemented Interfaces:
Templates

public class GnomeTransformer
extends Transformer
implements Templates

An implementation of Transformer which performs XSLT transformation using libxslt.

Method Summary

void
clearParameters()
void
finalize()
ErrorListener
getErrorListener()
Properties
getOutputProperties()
String
getOutputProperty(String name)
Object
getParameter(String name)
URIResolver
getURIResolver()
Transformer
newTransformer()
void
setErrorListener(ErrorListener listener)
void
setOutputProperties(Properties outputProperties)
void
setOutputProperty(String name, String value)
void
setParameter(String parameter, Object value)
void
setURIResolver(URIResolver resolver)
void
transform(Source source, Result result)
Transforms the given source and writes the result to the given target.

Methods inherited from class javax.xml.transform.Transformer

clearParameters, getErrorListener, getOutputProperties, getOutputProperty, getParameter, getURIResolver, reset, setErrorListener, setOutputProperties, setOutputProperty, setParameter, setURIResolver, transform

Method Details

clearParameters

public void clearParameters()
Overrides:
clearParameters in interface Transformer


finalize

public void finalize()


getErrorListener

public ErrorListener getErrorListener()
Overrides:
getErrorListener in interface Transformer


getOutputProperties

public Properties getOutputProperties()
Specified by:
getOutputProperties in interface Templates
Overrides:
getOutputProperties in interface Transformer


getOutputProperty

public String getOutputProperty(String name)
Overrides:
getOutputProperty in interface Transformer


getParameter

public Object getParameter(String name)
Overrides:
getParameter in interface Transformer


getURIResolver

public URIResolver getURIResolver()
Overrides:
getURIResolver in interface Transformer


newTransformer

public Transformer newTransformer()
Specified by:
newTransformer in interface Templates


setErrorListener

public void setErrorListener(ErrorListener listener)
Overrides:
setErrorListener in interface Transformer


setOutputProperties

public void setOutputProperties(Properties outputProperties)
Overrides:
setOutputProperties in interface Transformer


setOutputProperty

public void setOutputProperty(String name,
                              String value)
Overrides:
setOutputProperty in interface Transformer


setParameter

public void setParameter(String parameter,
                         Object value)
Overrides:
setParameter in interface Transformer


setURIResolver

public void setURIResolver(URIResolver resolver)
Overrides:
setURIResolver in interface Transformer


transform

public void transform(Source source,
                      Result result)
            throws TransformerException
Transforms the given source and writes the result to the given target.
Overrides:
transform in interface Transformer