com.atlassian.confluence.content.render.xhtml.view.excerpt
Class XMLNodeSkipper

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.view.excerpt.XMLNodeSkipper

public class XMLNodeSkipper
extends Object

XMLNodeSkipper receives an iterator of xmlEvents with the first element an XML startEvent, this node and all child nodes are skipped by advancing the iterator past the corresponding endEvent.


Constructor Summary
XMLNodeSkipper(Iterator<XMLEvent> events)
           
 
Method Summary
 Iterator<XMLEvent> skipCurrentNode()
           
static void skipCurrentNode(Iterator<XMLEvent> xmlEvents)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLNodeSkipper

public XMLNodeSkipper(Iterator<XMLEvent> events)
Method Detail

skipCurrentNode

public static void skipCurrentNode(Iterator<XMLEvent> xmlEvents)

skipCurrentNode

public Iterator<XMLEvent> skipCurrentNode()


Copyright © 2003–2015 Atlassian. All rights reserved.