Interface TraxUtils.ResultCallback
- Enclosing class:
- TraxUtils
public static interface TraxUtils.ResultCallback
Callback interface invoked on each sort of
Result.-
Method Summary
Modifier and TypeMethodDescriptionvoidPerform an operation on the node contained in aDOMResult.voidPerform an operation on the system identifier contained in anyResult.voidsaxResult(ContentHandler contentHandler, LexicalHandler lexicalHandler) voidstaxResult(XMLEventWriter eventWriter) voidstaxResult(XMLStreamWriter streamWriter) Perform an operation on theXMLStreamWritercontained in a JAXP 1.4StAXResultor SpringStaxResult.voidstreamResult(OutputStream outputStream) Perform an operation on theOutputStreamcontained in aStreamResult.voidstreamResult(Writer writer) Perform an operation on theWritercontained in aStreamResult.
-
Method Details
-
domResult
Perform an operation on the node contained in aDOMResult.- Parameters:
node- the node- Throws:
Exception
-
saxResult
- Parameters:
contentHandler- the content handlerlexicalHandler- the lexicalHandler, can benull- Throws:
Exception
-
staxResult
- Parameters:
eventWriter- the writer- Throws:
Exception
-
staxResult
Perform an operation on theXMLStreamWritercontained in a JAXP 1.4StAXResultor SpringStaxResult.- Parameters:
streamWriter- the writer- Throws:
Exception
-
streamResult
Perform an operation on theOutputStreamcontained in aStreamResult.- Parameters:
outputStream- the output stream- Throws:
Exception
-
streamResult
Perform an operation on theWritercontained in aStreamResult.- Parameters:
writer- the writer- Throws:
Exception
-
result
Perform an operation on the system identifier contained in anyResult.- Parameters:
systemId- the system identifier- Throws:
Exception
-