This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.xml.transform.sax
interface TransformerHandler

All Superinterfaces:
DTDHandler

Most common way to construct:

SAXTransformerFactory tf = …;

TransformerHandler handler = tf.newTransformerHandler();

Based on 26 examples


public interface TransformerHandler
extends DTDHandler

A TransformerHandler listens for SAX ContentHandler parse events and transforms them to a Result.


Method Summary
 String

          Get the base ID (URI or system ID) from where relative URLs will be resolved.
 Transformer

          Get the Transformer associated with this handler, which is needed in order to set parameters and output properties.
 void
setResult(Result result)

          Set the Result associated with this TransformerHandler to be used for the transformation.
 void
setSystemId(String systemID)

          Set the base ID (URI or system ID) from where relative URLs will be resolved.
 
Methods inherited from class org.xml.sax.DTDHandler
notationDecl, unparsedEntityDecl
 

Method Detail

getSystemId

public String getSystemId()
Get the base ID (URI or system ID) from where relative URLs will be resolved.

Returns:
The systemID that was set with {@link #setSystemId}.

getTransformer

public Transformer getTransformer()

Get the Transformer associated with this handler, which is needed in order to set parameters and output properties.

Returns:
Transformer associated with this TransformerHandler.

setResult

public void setResult(Result result)
               throws IllegalArgumentException

Set the Result associated with this TransformerHandler to be used for the transformation.

Parameters:
result - A Result instance, should not be null.
Throws:
IllegalArgumentException - if result is invalid for some reason.

setSystemId

public void setSystemId(String systemID)
Set the base ID (URI or system ID) from where relative URLs will be resolved.

Parameters:
systemID - Base URI for the source tree.


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.