javax.xml.transform
public abstract class Transformer extends Object
Version: 1.0
Constructor Summary | |
---|---|
protected | Transformer() Default constructor, for use only by subclasses. |
Method Summary | |
---|---|
abstract void | clearParameters()
Clears all parameter settings. |
abstract ErrorListener | getErrorListener() Returns the error handler used as documents are transformed. |
abstract Properties | getOutputProperties()
Returns a copy of the transformer's non-default output properties.
|
abstract String | getOutputProperty(String name)
Returns the value of a property applying to this transform.
|
abstract Object | getParameter(String name)
Returns the value of a parameter passed to this transform.
|
abstract URIResolver | getURIResolver() Returns the resolver applied to documents being transformed. |
abstract void | setErrorListener(ErrorListener listener) Assigns the error handler used as documents are transformed. |
abstract void | setOutputProperties(Properties outputformat)
Assigns a set of output properties, as if made by multiple
calls to Transformer. |
abstract void | setOutputProperty(String name, String value)
Assigns the value of a transformation property, affecting
generation of output (mostly text syntax). |
abstract void | setParameter(String name, Object value)
Assigns the value of a parameter passed to this transform.
|
abstract void | setURIResolver(URIResolver resolver) Assigns the resolver applied to documents being transformed. |
abstract void | transform(Source source, Result result) Apply the appropriate transformation |
See Also: Transformer
See Also: OutputKeys Transformer
See Also: OutputKeys Transformer
See Also: Transformer
Parameters: outputformat set of properties, or null to reset all properties to their default values
See Also: OutputKeys
Parameters: name an XML name, or a namespace-scoped XML name encoded as {uri}localName. value associated with the name
See Also: OutputKeys Transformer Transformer
Parameters: name an XML name, or a namespace-scoped XML name encoded as {uri}localName. value associated with the name
See Also: Transformer Transformer
Source code is under GPL (with library exception) in the JAXP project at http://www.gnu.org/software/classpathx/jaxp
This documentation was derived from that source code on 2011-08-26.