01: /*
02: * Copyright (C) 2006, 2007 XStream Committers.
03: * All rights reserved.
04: *
05: * The software in this package is published under the terms of the BSD
06: * style license a copy of which has been included with this distribution in
07: * the LICENSE.txt file.
08: *
09: * Created on 18. October 2007 by Joerg Schaible
10: */
11: package com.thoughtworks.xstream.io.xml;
12:
13: import com.thoughtworks.xstream.io.HierarchicalStreamReader;
14:
15: /**
16: * A generic interface for all {@link HierarchicalStreamReader} implementations reading a DOM.
17: *
18: * @author Jörg Schaible
19: * @since 1.2.1
20: */
21: public interface DocumentReader extends HierarchicalStreamReader {
22:
23: /**
24: * Retrieve the current processed node of the DOM.
25: *
26: * @return the current node
27: * @since 1.2.1
28: */
29: public Object getCurrent();
30: }
|