com.sun.xml.fastinfoset.stax.events
Class StAXFilteredEvent
java.lang.Object
com.sun.xml.fastinfoset.stax.events.StAXFilteredEvent
- All Implemented Interfaces:
- Iterator, XMLEventReader
public class StAXFilteredEvent
- extends Object
- implements XMLEventReader
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StAXFilteredEvent
public StAXFilteredEvent()
- Creates a new instance of StAXFilteredEvent
StAXFilteredEvent
public StAXFilteredEvent(XMLEventReader reader,
EventFilter filter)
throws XMLStreamException
- Throws:
XMLStreamException
setEventReader
public void setEventReader(XMLEventReader reader)
setFilter
public void setFilter(EventFilter filter)
next
public Object next()
- Specified by:
next in interface Iterator
nextEvent
public XMLEvent nextEvent()
throws XMLStreamException
- Specified by:
nextEvent in interface XMLEventReader
- Throws:
XMLStreamException
getElementText
public String getElementText()
throws XMLStreamException
- Specified by:
getElementText in interface XMLEventReader
- Throws:
XMLStreamException
nextTag
public XMLEvent nextTag()
throws XMLStreamException
- Specified by:
nextTag in interface XMLEventReader
- Throws:
XMLStreamException
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator- Specified by:
hasNext in interface XMLEventReader
remove
public void remove()
- Specified by:
remove in interface Iterator
peek
public XMLEvent peek()
throws XMLStreamException
- Specified by:
peek in interface XMLEventReader
- Throws:
XMLStreamException
close
public void close()
throws XMLStreamException
- Specified by:
close in interface XMLEventReader
- Throws:
XMLStreamException
getProperty
public Object getProperty(String name)
- Specified by:
getProperty in interface XMLEventReader
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.