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.ext.LexicalHandler
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
 
Methods inherited from interface org.xml.sax.DTDHandler
notationDecl, unparsedEntityDecl
 

Method Detail

setResult

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

Throws:
IllegalArgumentException - if the result is not a valid target

setSystemId

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


getSystemId

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


getTransformer

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