FileDocCategorySizeDatePackage
TransformerHandler.javaAPI DocJava SE 6 API2535Tue Jun 10 00:27:14 BST 2008javax.xml.transform.sax

TransformerHandler

public interface TransformerHandler implements LexicalHandler, DTDHandler, ContentHandler
A TransformerHandler listens for SAX ContentHandler parse events and transforms them to a Result.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetSystemId()
Get the base ID (URI or system ID) from where relative URLs will be resolved.

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

public javax.xml.transform.TransformergetTransformer()

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

return
Transformer associated with this TransformerHandler.

public voidsetResult(javax.xml.transform.Result result)

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

param
result A Result instance, should not be null.
throws
IllegalArgumentException if result is invalid for some reason.

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

param
systemID Base URI for the source tree.