javax.xml.stream.util
public interface XMLEventAllocator
| Method Summary | |
|---|---|
| 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.  |