public interface XMLEventAllocator
Modifier and Type | Method and Description |
---|---|
XMLEvent |
allocate(XMLStreamReader reader)
Allocates an event based on the current state of the stream reader.
|
void |
allocate(XMLStreamReader reader,
XMLEventConsumer consumer)
Allocates one or more events based on the current state of the stream
reader and adds those events to the specified consumer.
|
XMLEventAllocator |
newInstance()
Creates a new allocator.
|
XMLEventAllocator newInstance()
XMLEvent allocate(XMLStreamReader reader) throws XMLStreamException
XMLStreamException
void allocate(XMLStreamReader reader, XMLEventConsumer consumer) throws XMLStreamException
XMLStreamException