|
|||||||||
| Home >> All >> javax >> xml >> transform >> [ sax overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.xml.transform.sax
Class SAXResult

java.lang.Objectjavax.xml.transform.sax.SAXResult
- All Implemented Interfaces:
- javax.xml.transform.Result
- public class SAXResult
- extends java.lang.Object
- implements javax.xml.transform.Result
- extends java.lang.Object
Specifies SAX handlers to be used as a result sink during a transformation.
| Field Summary | |
static java.lang.String |
FEATURE
Factory feature indicating that SAX results are supported. |
private org.xml.sax.ContentHandler |
handler
|
private org.xml.sax.ext.LexicalHandler |
lexicalHandler
|
private java.lang.String |
systemId
|
| Fields inherited from interface javax.xml.transform.Result |
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING |
| Constructor Summary | |
SAXResult()
Default constructor. |
|
SAXResult(org.xml.sax.ContentHandler handler)
Constructor specifying a content handler. |
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
FEATURE
public static final java.lang.String FEATURE
- Factory feature indicating that SAX results are supported.
- See Also:
- Constant Field Values
handler
private org.xml.sax.ContentHandler handler
lexicalHandler
private org.xml.sax.ext.LexicalHandler lexicalHandler
systemId
private java.lang.String systemId
| Constructor Detail |
SAXResult
public SAXResult()
- Default constructor.
SAXResult
public SAXResult(org.xml.sax.ContentHandler handler)
- Constructor specifying a content handler.
| Method Detail |
setHandler
public void setHandler(org.xml.sax.ContentHandler handler)
- Sets the content handler to which result document events will be
propagated.
getHandler
public org.xml.sax.ContentHandler getHandler()
- Returns the content handler to which result document events will be
propagated.
setLexicalHandler
public void setLexicalHandler(org.xml.sax.ext.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.
getLexicalHandler
public org.xml.sax.ext.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.
setSystemId
public void setSystemId(java.lang.String systemId)
- Sets the system ID which this result represents.
- Specified by:
setSystemIdin interfacejavax.xml.transform.Result
getSystemId
public java.lang.String getSystemId()
- Returns the system ID which this result represnts.
- Specified by:
getSystemIdin interfacejavax.xml.transform.Result
|
|||||||||
| Home >> All >> javax >> xml >> transform >> [ sax overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
javax.xml.transform.sax.SAXResult