public class XmlEventDecoder extends org.springframework.core.codec.AbstractDecoder<XMLEvent>
DataBuffer
stream into a stream of XMLEvent
s. That is, given
the following XML:
<root>
<child>foo</child>
<child>bar</child>
</root>
this method with result in a flux with the following events:
StartDocument
StartElement
root
StartElement
child
Characters
foo
EndElement
child
StartElement
child
Characters
bar
EndElement
child
EndElement
root
Constructor and Description |
---|
XmlEventDecoder() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Flux<XMLEvent> |
decode(org.reactivestreams.Publisher<org.springframework.core.io.buffer.DataBuffer> inputStream,
org.springframework.core.ResolvableType elementType,
org.springframework.util.MimeType mimeType,
Map<String,Object> hints) |