Java javax.xml.transform Transformer fields, constructors, methods, implement or subclass

Example usage for Java javax.xml.transform Transformer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.xml.transform Transformer.

The text is from its open source code.

Subclass

javax.xml.transform.Transformer has subclasses.
Click this link to see all its subclasses.

Method

voidclearParameters()
Clear all parameters set with setParameter.
ClassgetClass()
Returns the runtime class of this Object .
ErrorListenergetErrorListener()
Get the error event handler in effect for the transformation.
PropertiesgetOutputProperties()

Get a copy of the output properties for the transformation.

The properties returned should contain properties set by the user, and properties set by the stylesheet, and these properties are "defaulted" by default properties specified by section 16 of the XSL Transformations (XSLT) W3C Recommendation.

StringgetOutputProperty(String name)

Get an output property that is in effect for the transformer.

If a property has been set using #setOutputProperty , that value will be returned.

ObjectgetParameter(String name)
Get a parameter that was explicitly set with setParameter.
voidreset()

Reset this Transformer to its original configuration.

Transformer is reset to the same state as when it was created with TransformerFactory#newTransformer() , TransformerFactory#newTransformer(Source source) or Templates#newTransformer() .

voidsetErrorListener(ErrorListener listener)
Set the error event listener in effect for the transformation.
voidsetOutputProperties(Properties oformat)
Set the output properties for the transformation.
voidsetOutputProperty(String name, String value)
Set an output property that will be in effect for the transformation.
voidsetParameter(String name, Object value)
Add a parameter for the transformation.
voidsetURIResolver(URIResolver resolver)
Set an object that will be used to resolve URIs used in document().
voidtransform(Source xmlSource, Result outputTarget)

Transform the XML Source to a Result.