|
Préférences
Moteurs de recherche
|
||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
javax.xml.stream.util
|
Method Summary | |
---|---|
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. |
Method Detail |
---|
XMLEventAllocator newInstance()
XMLEvent allocate(XMLStreamReader reader) throws XMLStreamException
reader
- The XMLStreamReader to allocate from
XMLStreamException
void allocate(XMLStreamReader reader, XMLEventConsumer consumer) throws XMLStreamException
reader
- The XMLStreamReader to allocate fromconsumer
- The XMLEventConsumer to add to.
XMLStreamException