Interface TraxUtils.ResultCallback
- Enclosing class:
 TraxUtils
public static interface TraxUtils.ResultCallback
Callback interface invoked on each sort of 
Result.- Since:
 - 1.5.0
 - See Also:
 
- 
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
 - 
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
 
 -