public class SAXResult extends java.lang.Object implements javax.xml.transform.Result
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FEATURE
Factory feature indicating that SAX results are supported.
|
| Constructor and Description |
|---|
SAXResult()
Default constructor.
|
SAXResult(org.xml.sax.ContentHandler handler)
Constructor specifying a content handler.
|
| Modifier and Type | Method and Description |
|---|---|
org.xml.sax.ContentHandler |
getHandler()
Returns the content handler to which result document events will be
propagated.
|
org.xml.sax.ext.LexicalHandler |
getLexicalHandler()
Returns the lexical handler to which lexical events will be propagated.
|
java.lang.String |
getSystemId()
Returns the system ID which this result represnts.
|
void |
setHandler(org.xml.sax.ContentHandler handler)
Sets the content handler to which result document events will be
propagated.
|
void |
setLexicalHandler(org.xml.sax.ext.LexicalHandler handler)
Sets the lexical handler to which lexical events will be propagated.
|
void |
setSystemId(java.lang.String systemId)
Sets the system ID which this result represents.
|
public static final java.lang.String FEATURE
public SAXResult()
public SAXResult(org.xml.sax.ContentHandler handler)
public void setHandler(org.xml.sax.ContentHandler handler)
public org.xml.sax.ContentHandler getHandler()
public void setLexicalHandler(org.xml.sax.ext.LexicalHandler handler)
public org.xml.sax.ext.LexicalHandler getLexicalHandler()
public void setSystemId(java.lang.String systemId)
setSystemId in interface javax.xml.transform.ResultsystemId - the system ID URIpublic java.lang.String getSystemId()
getSystemId in interface javax.xml.transform.Result