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