com.atlassian.confluence.content.render.xhtml
Class XmlFragmentBodyEventReader

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.XmlFragmentEventReader
      extended by com.atlassian.confluence.content.render.xhtml.XmlFragmentBodyEventReader
All Implemented Interfaces:
Iterator, XMLEventReader

public class XmlFragmentBodyEventReader
extends XmlFragmentEventReader

Exposes the events of the body of a fragment, but does not include any events for the start and end element of the fragment.


Field Summary
 
Fields inherited from class com.atlassian.confluence.content.render.xhtml.XmlFragmentEventReader
count, delegate, startEventConsumed
 
Constructor Summary
XmlFragmentBodyEventReader(XMLEventReader delegate)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 
Methods inherited from class com.atlassian.confluence.content.render.xhtml.XmlFragmentEventReader
getElementText, getProperty, next, nextEvent, nextTag, peek, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlFragmentBodyEventReader

public XmlFragmentBodyEventReader(XMLEventReader delegate)
                           throws XMLStreamException
Throws:
XMLStreamException
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator
Specified by:
hasNext in interface XMLEventReader
Overrides:
hasNext in class XmlFragmentEventReader

close

public void close()
           throws XMLStreamException
Specified by:
close in interface XMLEventReader
Overrides:
close in class XmlFragmentEventReader
Throws:
XMLStreamException


Confluence is developed by Atlassian.