Transformer

Represents a 'compiled' stylesheet.

  • Creates the Transformer object from the Stylesheet Source provided.

    Transformer TransformerFactory.newTransformer( Source source)
  • Specify the Error event listener.

    set/getErrorListener( ErrorListener listener)
  • Specify what the output should look like (encoding, version, systemId, publicId, indentation).

    set/getOutputProperties( Properties properties)
    set/getOutputProperty( String name, String value )
  • Specify an object that can be used to resolve URIs.

    set/getURIResolver( URIResolver resolver)
  • Specify XSLT parameters. (xsl:param)

    set/getParameter( String name, String value)
    clearParameters()
  • Process the xmlSource tree to the outputTarget.

    transform(Source xmlSource, Result outputTarget)