public interface XMLStreamEventsRecorder
| Modifier and Type | Interface and Description |
|---|---|
static class |
XMLStreamEventsRecorder.Async
Asynchronous implementation of the recorder.
|
static class |
XMLStreamEventsRecorder.Sync
Synchronous implementation of the recorder.
|
| Modifier and Type | Method and Description |
|---|---|
XMLStreamEvents.Event |
getFirstRecordedEvent()
Shortcut to know what is the first recorded event.
|
void |
replay()
Start to replay.
|
void |
startRecording(boolean recordCurrentEvent)
Start to record events.
|
void |
stopRecording()
Stop recording events.
|
void startRecording(boolean recordCurrentEvent)
recordCurrentEvent - true to save the current event, false to start saving events for the next one.void stopRecording()
void replay()
XMLStreamEvents.Event getFirstRecordedEvent()
Copyright © 2019. All rights reserved.