public interface XMLEventAllocator
| Modifier and Type | Method and Description |
|---|---|
javax.xml.stream.events.XMLEvent |
allocate(javax.xml.stream.XMLStreamReader reader)
Allocates an event based on the current state of the stream reader.
|
void |
allocate(javax.xml.stream.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()
javax.xml.stream.events.XMLEvent allocate(javax.xml.stream.XMLStreamReader reader) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionvoid allocate(javax.xml.stream.XMLStreamReader reader, XMLEventConsumer consumer) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException