XMLEventAllocator (XML Standard API)
Date: 2016-02-03

javax.xml.stream.util

## Interface XMLEventAllocator

-     public interface XMLEventAllocator

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `XMLEvent` | `allocate(XMLStreamReader reader)`
    `void` | `allocate(XMLStreamReader reader, XMLEventConsumer consumer)`
    `XMLEventAllocator` | `newInstance()`

- - ### Method Detail

    - #### allocate

          XMLEvent allocate(XMLStreamReader reader)
                            throws XMLStreamException

      Throws:
        `XMLStreamException`

    - #### allocate

          void allocate(XMLStreamReader reader,
                      XMLEventConsumer consumer)
                        throws XMLStreamException

      Throws:
        `XMLStreamException`

    - #### newInstance

          XMLEventAllocator newInstance()

Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.