java.lang.Object | +--javax.xml.transform.sax.SAXResult
Acts as an holder for a transformation Result.
static java.lang.String
FEATURE
TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the Transformer supports Result output of this type.
SAXResult()
void
setSystemId(java.lang.String systemId)
ContentHandler.
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
public static final java.lang.String FEATURE
TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the Transformer supports Result output of this type.public SAXResult()
public SAXResult(ContentHandler handler)
ContentHandler.handler - Must be a non-null ContentHandler reference.public void setHandler(ContentHandler handler)
ContentHandler.handler - Must be a non-null ContentHandler reference.public ContentHandler getHandler()
ContentHandler that is the Result.public void setLexicalHandler(LexicalHandler handler)
LexicalHandler for the output.
This is needed to handle XML comments and the like. If the
lexical handler is not set, an attempt should be made by the
transformer to cast the ContentHandler to a
LexicalHandler.
handler - A non-null LexicalHandler for
handling lexical parse events.public LexicalHandler getLexicalHandler()
LexicalHandler for the output.LexicalHandler, or null.public void setSystemId(java.lang.String systemId)
ContentHandler.systemId - The system identifier as a URI string.public java.lang.String getSystemId()