XMLEventReader (XML Standard API)
Date: 2014-11-21

javax.xml.stream

## Interface XMLEventReader

- All Superinterfaces:
    java.util.Iterator
  All Known Implementing Classes:
    EventReaderDelegate

      public interface XMLEventReader
      extends java.util.Iterator

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `java.lang.String` | `getElementText()`
    `java.lang.Object` | `getProperty(java.lang.String name)`
    `boolean` | `hasNext()`
    `XMLEvent` | `nextEvent()`
    `XMLEvent` | `nextTag()`
    `XMLEvent` | `peek()`

    - ### Methods inherited from interface java.util.Iterator

      `next, remove`

- - ### Method Detail

    - #### close

          void close()
                     throws XMLStreamException

      Throws:
        `XMLStreamException`

    - #### getElementText

          java.lang.String getElementText()
                                          throws XMLStreamException

      Throws:
        `XMLStreamException`

    - #### getProperty

          java.lang.Object getProperty(java.lang.String name)
                                       throws java.lang.IllegalArgumentException

      Throws:
        `java.lang.IllegalArgumentException`

    - #### hasNext

          boolean hasNext()

      Specified by:
        `hasNext` in interface `java.util.Iterator`

    - #### nextEvent

          XMLEvent nextEvent()
                             throws XMLStreamException

      Throws:
        `XMLStreamException`

    - #### nextTag

          XMLEvent nextTag()
                           throws XMLStreamException

      Throws:
        `XMLStreamException`

    - #### peek

          XMLEvent peek()
                        throws XMLStreamException

      Throws:
        `XMLStreamException`

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