API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.stream. XMLEventReader View Source
Author(s)
Copyright (c) 2003 by BEA Systems. All Rights Reserved.
Since
1.6
Version
1.0
Serial
Hierarchy
 Iterator
      XMLEventReader
Subinterfaces
Description
public interface XMLEventReader
  This is the top level interface for parsing XML Events.
Methods
Hide/Show inherited methods
public void close () throws XMLStreamException
  Frees any resources associated with this Reader.
public String getElementText () throws XMLStreamException
  Reads the content of a text-only element.
public Object getProperty (String name) throws IllegalArgumentException
  Get the value of a feature/property from the underlying implementation
public boolean hasNext () [Specified in Iterator]
  Check if there are more events.
public XMLEvent nextEvent () throws XMLStreamException
  Get the next XMLEvent
public XMLEvent nextTag () throws XMLStreamException
  Skips any insignificant space events until a START_ELEMENT or END_ELEMENT is reached.
public XMLEvent peek () throws XMLStreamException
  Check the next XMLEvent without reading it from the stream.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar