Example usage for Java javax.xml.transform Transformer fields, constructors, methods, implement or subclass
The text is from its open source code.
void | clearParameters() Clear all parameters set with setParameter. |
Class> | getClass() Returns the runtime class of this Object . |
ErrorListener | getErrorListener() Get the error event handler in effect for the transformation. |
Properties | getOutputProperties() 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. |
String | getOutputProperty(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. |
Object | getParameter(String name) Get a parameter that was explicitly set with setParameter. |
void | reset() Reset this
|
void | setErrorListener(ErrorListener listener) Set the error event listener in effect for the transformation. |
void | setOutputProperties(Properties oformat) Set the output properties for the transformation. |
void | setOutputProperty(String name, String value) Set an output property that will be in effect for the transformation. |
void | setParameter(String name, Object value) Add a parameter for the transformation. |
void | setURIResolver(URIResolver resolver) Set an object that will be used to resolve URIs used in document(). |
void | transform(Source xmlSource, Result outputTarget) Transform the XML |