javax.xml.transform.sax
Class SAXResult
- java.lang.Object
- javax.xml.transform.sax.SAXResult
- Result
public class SAXResult
extends java.lang.Object
 Specifies SAX handlers to be used as a result sink during a
 transformation.
| static String | FEATURE Factory feature indicating that SAX results are supported.
 | 
FEATURE
public static final String FEATURE
 Factory feature indicating that SAX results are supported.
SAXResult
public SAXResult()
 Default constructor.
SAXResult
public SAXResult(ContentHandler handler)
 Constructor specifying a content handler.
getHandler
public ContentHandler getHandler()
 Returns the content handler to which result document events will be
 propagated.
getLexicalHandler
public LexicalHandler getLexicalHandler()
 Returns the lexical handler to which lexical events will be propagated.
 If a lexical handler is not set, the transformer should attempt to cast
 the content handler to a lexical handler.
getSystemId
public String getSystemId()
 Returns the system ID which this result represnts.
- getSystemId in interface Result
setHandler
public void setHandler(ContentHandler handler)
 Sets the content handler to which result document events will be
 propagated.
setLexicalHandler
public void setLexicalHandler(LexicalHandler handler)
 Sets the lexical handler to which lexical events will be propagated.
 If a lexical handler is not set, the transformer should attempt to cast
 the content handler to a lexical handler.
setSystemId
public void setSystemId(String systemId)
 Sets the system ID which this result represents.
- setSystemId in interface Result