com.thoughtworks.xstream.io.xml
Interface DocumentReader

All Superinterfaces:
ErrorReporter, HierarchicalStreamReader
All Known Implementing Classes:
AbstractDocumentReader, Dom4JReader, DomReader, JDomReader, XomReader, XppDomReader

public interface DocumentReader
extends HierarchicalStreamReader

A generic interface for all HierarchicalStreamReader implementations reading a DOM.

Since:
1.2.1
Author:
Jörg Schaible

Method Summary
 Object getCurrent()
          Retrieve the current processed node of the DOM.
 
Methods inherited from interface com.thoughtworks.xstream.io.HierarchicalStreamReader
appendErrors, close, getAttribute, getAttribute, getAttributeCount, getAttributeName, getAttributeNames, getNodeName, getValue, hasMoreChildren, moveDown, moveUp, underlyingReader
 

Method Detail

getCurrent

Object getCurrent()
Retrieve the current processed node of the DOM.

Returns:
the current node
Since:
1.2.1


Copyright © 2004-2014 XStream. All Rights Reserved.