com.atlassian.confluence.content.render.xhtml
Class ForwardingXmlEventReader
java.lang.Object
com.atlassian.confluence.content.render.xhtml.ForwardingXmlEventReader
- All Implemented Interfaces:
- Iterator, XMLEventReader
- Direct Known Subclasses:
- ElementTransformingXmlEventReader, ResettableXmlEventReader, TextExtractingXmlFragmentEventReader, XmlFragmentEventReader
public class ForwardingXmlEventReader
- extends Object
- implements XMLEventReader
Class delegates all calls to an {code}XMLEventReader{code} passed to the constructor.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delegate
protected XMLEventReader delegate
ForwardingXmlEventReader
public ForwardingXmlEventReader(XMLEventReader delegate)
nextEvent
public XMLEvent nextEvent()
throws XMLStreamException
- Specified by:
nextEvent
in interface XMLEventReader
- Throws:
XMLStreamException
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
- Specified by:
hasNext
in interface XMLEventReader
peek
public XMLEvent peek()
throws XMLStreamException
- Specified by:
peek
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
getProperty
public Object getProperty(String s)
throws IllegalArgumentException
- Specified by:
getProperty
in interface XMLEventReader
- Throws:
IllegalArgumentException
close
public void close()
throws XMLStreamException
- Specified by:
close
in interface XMLEventReader
- Throws:
XMLStreamException
next
public Object next()
- Specified by:
next
in interface Iterator
remove
public void remove()
- Specified by:
remove
in interface Iterator
Copyright © 2003-2013 Atlassian. All Rights Reserved.