public interface XMLEventAllocator
XMLInputFactory
,
XMLEventFactory
Modifier and Type | Method and Description |
---|---|
XMLEvent |
allocate(XMLStreamReader reader)
This method allocates an event given the current
state of the XMLStreamReader.
|
void |
allocate(XMLStreamReader reader,
XMLEventConsumer consumer)
This method allocates an event or set of events
given the current
state of the XMLStreamReader and adds the event
or set of events to the
consumer that was passed in.
|
XMLEventAllocator |
newInstance()
This method creates an instance of the XMLEventAllocator.
|
XMLEventAllocator newInstance()
XMLEvent allocate(XMLStreamReader reader) throws XMLStreamException
XMLStreamException
reader
- The XMLStreamReader to allocate fromvoid allocate(XMLStreamReader reader, XMLEventConsumer consumer) throws XMLStreamException
XMLStreamException
reader
- The XMLStreamReader to allocate fromconsumer
- The XMLEventConsumer to add to.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.