|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A generic interface for all HierarchicalStreamWriter
implementations generating a
DOM.
Method Summary | |
java.util.List |
getTopLevelNodes()
Retrieve a List with the top elements. |
Methods inherited from interface com.thoughtworks.xstream.io.HierarchicalStreamWriter |
addAttribute, close, endNode, flush, setValue, startNode, underlyingWriter |
Method Detail |
public java.util.List getTopLevelNodes()
List
with the top elements. In the standard use case this list will
only contain a single element. Additional elements can only occur, if
HierarchicalStreamWriter.startNode(String)
of the implementing
HierarchicalStreamWriter
was called multiple times with an empty node stack. Such
a situation occurs calling
XStream.marshal(Object, HierarchicalStreamWriter)
multiple times directly.
List
with top nodes
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |