|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface TraxUtils.ResultCallback
Callback interface invoked on each sort of Result
.
TraxUtils.doWithResult(Result, ResultCallback)
Method Summary | |
---|---|
void |
domResult(Node node)
Perform an operation on the node contained in a DOMResult . |
void |
saxResult(ContentHandler contentHandler,
LexicalHandler lexicalHandler)
Perform an operation on the ContentHandler and LexicalHandler contained in a SAXResult . |
void |
staxResult(XMLEventWriter eventWriter)
Perform an operation on the XMLEventWriter contained in a JAXP 1.4 StAXResult or Spring
StaxResult . |
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 . |
Method Detail |
---|
void domResult(Node node)
DOMResult
.
node
- the nodevoid saxResult(ContentHandler contentHandler, LexicalHandler lexicalHandler) throws IOException, SAXException
ContentHandler
and LexicalHandler
contained in a SAXResult
.
contentHandler
- the content handlerlexicalHandler
- the lexicalHandler, can be null
IOException
SAXException
void staxResult(XMLEventWriter eventWriter) throws XMLStreamException
XMLEventWriter
contained in a JAXP 1.4 StAXResult
or Spring
StaxResult
.
eventWriter
- the writer
XMLStreamException
void staxResult(XMLStreamWriter streamWriter) throws XMLStreamException
XMLStreamWriter
contained in a JAXP 1.4 StAXResult
or Spring
StaxResult
.
streamWriter
- the writer
XMLStreamException
void streamResult(OutputStream outputStream) throws IOException
OutputStream
contained in a StreamResult
.
outputStream
- the output stream
IOException
void streamResult(Writer writer) throws IOException
Writer
contained in a StreamResult
.
writer
- the writer
IOException
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |