javax.xml.transform.sax

Interface TransformerHandler

All Superinterfaces:
ContentHandler, DTDHandler, LexicalHandler

public interface TransformerHandler
extends ContentHandler, LexicalHandler, DTDHandler

A content handler that transforms SAX events into a result tree.

Method Summary

String
getSystemId()
Returns the system ID relative to which URLs will be resolved.
Transformer
getTransformer()
Returns the transformer associated with this handler in order to set parameters and output properties.
void
setResult(Result result)
Sets the result sink to be used as the output of the transformation.
void
setSystemId(String systemID)
Sets the system ID relative to which URLs will be resolved.

Methods inherited from interface org.xml.sax.ContentHandler

characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping

Methods inherited from interface org.xml.sax.DTDHandler

notationDecl, unparsedEntityDecl

Methods inherited from interface org.xml.sax.ext.LexicalHandler

comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity

Method Details

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)
            throws IllegalArgumentException
Sets the result sink to be used as the output of the transformation.


setSystemId

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