javax.xml.stream
Interface XMLEventReader

All Superinterfaces:
Iterator
All Known Implementing Classes:
EventReaderDelegate

public interface XMLEventReader
extends Iterator


Method Summary
 void close()
           
 String getElementText()
           
 Object getProperty(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

String getElementText()
                      throws XMLStreamException
Throws:
XMLStreamException

getProperty

Object getProperty(String name)
                   throws IllegalArgumentException
Throws:
IllegalArgumentException

hasNext

boolean hasNext()
Specified by:
hasNext in interface Iterator

nextEvent

XMLEvent nextEvent()
                   throws XMLStreamException
Throws:
XMLStreamException

nextTag

XMLEvent nextTag()
                 throws XMLStreamException
Throws:
XMLStreamException

peek

XMLEvent peek()
              throws XMLStreamException
Throws:
XMLStreamException


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.