TransformerFactory Methods

creator for transformer and template objects

  • Creates the Transformer object from the XSLT Stylesheet Source provided.

    Transformer newTransformer( Source source)

    Note

    Can be used multiple times however not Thread Save.
  • Creates the Templates object from the XSTL Stylesheet Source provided. A Templates object can provide an optimized/pre-compiled representation of the transformation instructions.

    Templates newTemplates( Source source)

    Note

    Thread Save
  • Specify a feature for the TransformerFactory and the Transformers and Templates created by this factory.

    set/getFeature( String name, boolean value)
  • Specify an attribute/property for the TransformerFactory and the Transformers and Templates created by this factory.

    set/getAttribute( String name, Object value)
  • Specify an object that can be used to resolve URIs.

    set/getURIResolver( URIResolver resolver)
  • Specify the Error event listener.

    set/getErrorListener( ErrorListener listener)