Modifier and Type | Method and Description |
---|---|
void |
domResult(Node node)
Perform an operation on the node contained in a
DOMResult . |
void |
result(String systemId)
Perform an operation on the system identifier contained in any
Result . |
void |
saxResult(ContentHandler contentHandler,
LexicalHandler lexicalHandler)
|
void |
staxResult(XMLEventWriter eventWriter)
|
void |
staxResult(XMLStreamWriter streamWriter)
Perform an operation on the
XMLStreamWriter contained in a JAXP 1.4 StAXResult or Spring
StaxResult . |
void |
streamResult(OutputStream outputStream)
Perform an operation on the
OutputStream contained in a StreamResult . |
void |
streamResult(Writer writer)
Perform an operation on the
Writer contained in a StreamResult . |
void domResult(Node node) throws Exception
DOMResult
.node
- the nodeException
void saxResult(ContentHandler contentHandler, LexicalHandler lexicalHandler) throws Exception
contentHandler
- the content handlerlexicalHandler
- the lexicalHandler, can be null
Exception
void staxResult(XMLEventWriter eventWriter) throws Exception
eventWriter
- the writerException
void staxResult(XMLStreamWriter streamWriter) throws Exception
XMLStreamWriter
contained in a JAXP 1.4 StAXResult
or Spring
StaxResult
.streamWriter
- the writerException
void streamResult(OutputStream outputStream) throws Exception
OutputStream
contained in a StreamResult
.outputStream
- the output streamException
void streamResult(Writer writer) throws Exception
Writer
contained in a StreamResult
.writer
- the writerException