|
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 |
result(String systemId)
Perform an operation on the system identifier contained in any Result . |
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) throws Exception
DOMResult
.
node
- the node
Exception
void saxResult(ContentHandler contentHandler, LexicalHandler lexicalHandler) throws Exception
ContentHandler
and LexicalHandler
contained in a SAXResult
.
contentHandler
- the content handlerlexicalHandler
- the lexicalHandler, can be null
Exception
void staxResult(XMLEventWriter eventWriter) throws Exception
XMLEventWriter
contained in a JAXP 1.4 StAXResult
or Spring
StaxResult
.
eventWriter
- the writer
Exception
void staxResult(XMLStreamWriter streamWriter) throws Exception
XMLStreamWriter
contained in a JAXP 1.4 StAXResult
or Spring
StaxResult
.
streamWriter
- the writer
Exception
void streamResult(OutputStream outputStream) throws Exception
OutputStream
contained in a StreamResult
.
outputStream
- the output stream
Exception
void streamResult(Writer writer) throws Exception
Writer
contained in a StreamResult
.
writer
- the writer
Exception
void result(String systemId) throws Exception
Result
.
systemId
- the system identifier
Exception
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |