|
||||||||||
| 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(org.w3c.dom.Node node)
Perform an operation on the node contained in a DOMResult. |
void |
saxResult(org.xml.sax.ContentHandler contentHandler,
org.xml.sax.ext.LexicalHandler lexicalHandler)
Perform an operation on the ContentHandler and LexicalHandler contained in a SAXResult. |
void |
staxResult(javax.xml.stream.XMLEventWriter eventWriter)
Perform an operation on the XMLEventWriter contained in a JAXP 1.4 StAXResult or Spring
StaxResult. |
void |
staxResult(javax.xml.stream.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(org.w3c.dom.Node node)
DOMResult.
node - the node
void saxResult(org.xml.sax.ContentHandler contentHandler,
org.xml.sax.ext.LexicalHandler lexicalHandler)
throws IOException,
org.xml.sax.SAXException
ContentHandler and LexicalHandler contained in a SAXResult.
contentHandler - the content handlerlexicalHandler - the lexicalHandler, can be null
IOException
org.xml.sax.SAXException
void staxResult(javax.xml.stream.XMLEventWriter eventWriter)
throws javax.xml.stream.XMLStreamException
XMLEventWriter contained in a JAXP 1.4 StAXResult or Spring
StaxResult.
eventWriter - the writer
javax.xml.stream.XMLStreamException
void staxResult(javax.xml.stream.XMLStreamWriter streamWriter)
throws javax.xml.stream.XMLStreamException
XMLStreamWriter contained in a JAXP 1.4 StAXResult or Spring
StaxResult.
streamWriter - the writer
javax.xml.stream.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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||