DOMDocumentResult implements a JAXP SAXResult for a
org..
| Modifier and Type | Field and Description |
|---|---|
| private DOMSAXContentHandler |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Document | Returns: the Document created by the transformationRetrieves w3c dom object generated via transformation |
| public void | setHandler(ContentHandler
Must be a non-null ContentHandler reference. handler)Overrides javax. org.xml.sax.ContentHandler.
|
| public void | setLexicalHandler(LexicalHandler
A non-null handler)LexicalHandler for
handling lexical parse events.Overrides javax. org.xml.sax.ext.LexicalHandler for the output.
|
| contentHandler | back to summary |
|---|---|
| private DOMSAXContentHandler contentHandler | |
| DOMDocumentResult | back to summary |
|---|---|
| public DOMDocumentResult() | |
| DOMDocumentResult | back to summary |
|---|---|
| public DOMDocumentResult(DOMSAXContentHandler contentHandler) | |
| getDocument | back to summary |
|---|---|
| public Document getDocument() Retrieves w3c dom object generated via transformation
| |
| setHandler | back to summary |
|---|---|
| public void setHandler(ContentHandler handler) Overrides javax. Doc from javax. Set the target to be a SAX2
| |
| setLexicalHandler | back to summary |
|---|---|
| public void setLexicalHandler(LexicalHandler handler) Overrides javax. Doc from javax. Set the SAX2 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
| |