package com.thoughtworks.xstream.io.xml;

import java.util.Iterator;
import java.util.List;

import com.thoughtworks.xstream.io.HierarchicalStreamReader;
import com.thoughtworks.xstream.io.HierarchicalStreamWriter;


/**
 * A generic interface for all {@link HierarchicalStreamReader} implementations reading a DOM.
 * 
 * @author J&ouml;rg Schaible
 * @since upcoming
 */
public interface DocumentReader extends HierarchicalStreamReader {

    /**
     * Retrieve the current element. In the standrad use case this list will only contain a single element.
     * Additional elements can only occur, if {@link HierarchicalStreamWriter#startNode(String)} of the implementing
     * {@link HierarchicalStreamWriter} was called multiple times with an empty node stack. Such a situation occurs
     * calling {@link com.thoughtworks.xstream.XStream#marshal(Object, HierarchicalStreamWriter)} multiple times
     * directly.
     * 
     * @return a {@link List} with top nodes
     * @since upcoming
     */
    public Object getCurrent();
}

@@ -46,170 +46,58 @@
 ort 
-java.util.Iterator;%0Aimport java.util.List;%0A%0Aimport com.thoughtworks.xstream.io.HierarchicalStreamReader;%0Aimport com.thoughtworks.xstream.io.HierarchicalStreamWrit
+com.thoughtworks.xstream.io.HierarchicalStreamRead
 er;%0A
@@ -362,503 +362,74 @@
 ent 
-element. In the standrad use case this list will only contain a single element.%0A     * Additional elements can only occur, if %7B@link HierarchicalStreamWriter#startNode(String)%7D of the implementing%0A     * %7B@link HierarchicalStreamWriter%7D was called multiple times with an empty node stack. Such a situation occurs%0A     * calling %7B@link com.thoughtworks.xstream.XStream#marshal(Object, HierarchicalStreamWriter)%7D multiple times%0A     * directly.%0A     * %0A     * @return a %7B@link List%7D with top
+processed node of the DOM.%0A     * %0A     * @return the current
  node
-s
 %0A   

Fix javadoc.