public class DemoResponseSplitter extends XMLSplitter
logger, NAMESPACE_AWARE_PROP, REPAIR_NAMESPACE_PROP
Constructor and Description |
---|
DemoResponseSplitter(InputStream in) |
Modifier and Type | Method and Description |
---|---|
protected XMLEvent |
findNextObjectStart(boolean isFirst)
Finds the first event for the start of the next output object from the input reader.
|
String |
getNextOffset()
Returns any next "offset" attribute included in the response.
|
closeImpl, initialize, iterator, peekNextObjectStart
addObjectEvent, close, closeQuietly, closeReader, closeWriter, createEventFactory, createInputFactory, createInputFactory, createOutputFactory, createOutputFactory, findNextElementStart, finishObject, getEventFactory, getInputFactory, getOutputFactory, getReader, getWriter, openReader, openWriter, setReader, setWriter, startObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public DemoResponseSplitter(InputStream in) throws XMLStreamException
XMLStreamException
public String getNextOffset()
protected XMLEvent findNextObjectStart(boolean isFirst) throws XMLStreamException
XMLSplitter
findNextObjectStart
in class XMLSplitter
isFirst
- whether this is the first object in the stream or a subsequent objectnull
if there are no more objects in the readerXMLStreamException