com.atlassian.confluence.content.render.xhtml
Class ElementTransformingXmlEventReader
java.lang.Object
com.atlassian.confluence.content.render.xhtml.ForwardingXmlEventReader
com.atlassian.confluence.content.render.xhtml.ElementTransformingXmlEventReader
- All Implemented Interfaces:
- Iterator, XMLEventReader
public class ElementTransformingXmlEventReader
- extends ForwardingXmlEventReader
An XMLEventReader that can be configured with multiple ElementTransformers potentially
changing the start and end elements returned by the reader. The order of the element transforms
is controlled by the order of the List of ElementTransformer configured.
- See Also:
ElementTransformer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementTransformingXmlEventReader
public ElementTransformingXmlEventReader(XMLEventReader delegate,
List<ElementTransformer> elementTransformers)
peek
public XMLEvent peek()
throws XMLStreamException
- Specified by:
peek in interface XMLEventReader- Overrides:
peek in class ForwardingXmlEventReader
- Throws:
XMLStreamException
nextEvent
public XMLEvent nextEvent()
throws XMLStreamException
- Specified by:
nextEvent in interface XMLEventReader- Overrides:
nextEvent in class ForwardingXmlEventReader
- Throws:
XMLStreamException
nextTag
public XMLEvent nextTag()
throws XMLStreamException
- Specified by:
nextTag in interface XMLEventReader- Overrides:
nextTag in class ForwardingXmlEventReader
- Throws:
XMLStreamException
next
public Object next()
- Specified by:
next in interface Iterator- Overrides:
next in class ForwardingXmlEventReader
Copyright © 2003-2012 Atlassian. All Rights Reserved.