javax.xml.transform.sax

Interface TransformerHandler

public interface TransformerHandler extends ContentHandler, LexicalHandler, DTDHandler

A content handler that transforms SAX events into a result tree.
Method Summary
StringgetSystemId()
Returns the system ID relative to which URLs will be resolved.
TransformergetTransformer()
Returns the transformer associated with this handler in order to set parameters and output properties.
voidsetResult(Result result)
Sets the result sink to be used as the output of the transformation.
voidsetSystemId(String systemID)
Sets the system ID relative to which URLs will be resolved.

Method Detail

getSystemId

public String getSystemId()
Returns the system ID relative to which URLs will be resolved.

getTransformer

public Transformer getTransformer()
Returns the transformer associated with this handler in order to set parameters and output properties.

setResult

public void setResult(Result result)
Sets the result sink to be used as the output of the transformation.

Throws: IllegalArgumentException if the result is not a valid target

setSystemId

public void setSystemId(String systemID)
Sets the system ID relative to which URLs will be resolved.