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 java.lang.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(java.util.Iterator<javax.xml.stream.events.XMLEvent> events)
           
 
Method Summary
 java.util.Iterator<javax.xml.stream.events.XMLEvent> skipCurrentNode()
           
static void skipCurrentNode(java.util.Iterator<javax.xml.stream.events.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(java.util.Iterator<javax.xml.stream.events.XMLEvent> events)
Method Detail

skipCurrentNode

public static void skipCurrentNode(java.util.Iterator<javax.xml.stream.events.XMLEvent> xmlEvents)

skipCurrentNode

public java.util.Iterator<javax.xml.stream.events.XMLEvent> skipCurrentNode()


Copyright © 2003-2014 Atlassian. All Rights Reserved.