Uses of Interface javax.xml.stream.util.XMLEventAllocator (Java Platform SE 8 )
Date: 2026-03-29

## Uses of Interface
javax.xml.stream.util.XMLEventAllocator

- Packages that use XMLEventAllocator
  Package | Description
  --- | ---
  javax.xml.stream |
  javax.xml.stream.util |

- - ### Uses of XMLEventAllocator in javax.xml.stream

    Methods in javax.xml.stream that return XMLEventAllocator
    Modifier and Type | Method and Description
    --- | ---
    `abstract XMLEventAllocator` | XMLInputFactory.`getEventAllocator()` Gets the allocator used by streams created with this factory

    Methods in javax.xml.stream with parameters of type XMLEventAllocator
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | XMLInputFactory.`setEventAllocator(XMLEventAllocator allocator)` Set a user defined event allocator for events

  - ### Uses of XMLEventAllocator in javax.xml.stream.util

    Methods in javax.xml.stream.util that return XMLEventAllocator
    Modifier and Type | Method and Description
    --- | ---
    `XMLEventAllocator` | XMLEventAllocator.`newInstance()` This method creates an instance of the XMLEventAllocator.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.