public class DBObjectHierarchicalStreamReader extends Object implements com.thoughtworks.xstream.io.HierarchicalStreamReader
DBObject structure that has been created
 using the DBObjectHierarchicalStreamWriter.| Constructor and Description | 
|---|
DBObjectHierarchicalStreamReader(com.mongodb.DBObject root)
Initialize the reader to read the structure of the given  
root DBObject. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
appendErrors(com.thoughtworks.xstream.converters.ErrorWriter errorWriter)  | 
void | 
close()  | 
String | 
getAttribute(int index)  | 
String | 
getAttribute(String name)  | 
int | 
getAttributeCount()  | 
String | 
getAttributeName(int index)  | 
Iterator | 
getAttributeNames()  | 
String | 
getNodeName()  | 
String | 
getValue()  | 
boolean | 
hasMoreChildren()  | 
void | 
moveDown()  | 
void | 
moveUp()  | 
com.thoughtworks.xstream.io.HierarchicalStreamReader | 
underlyingReader()  | 
public DBObjectHierarchicalStreamReader(com.mongodb.DBObject root)
root DBObject.root - the root object containing the serialized structurepublic boolean hasMoreChildren()
hasMoreChildren in interface com.thoughtworks.xstream.io.HierarchicalStreamReaderpublic void moveDown()
moveDown in interface com.thoughtworks.xstream.io.HierarchicalStreamReaderpublic void moveUp()
moveUp in interface com.thoughtworks.xstream.io.HierarchicalStreamReaderpublic String getNodeName()
getNodeName in interface com.thoughtworks.xstream.io.HierarchicalStreamReaderpublic String getValue()
getValue in interface com.thoughtworks.xstream.io.HierarchicalStreamReaderpublic String getAttribute(String name)
getAttribute in interface com.thoughtworks.xstream.io.HierarchicalStreamReaderpublic String getAttribute(int index)
getAttribute in interface com.thoughtworks.xstream.io.HierarchicalStreamReaderpublic int getAttributeCount()
getAttributeCount in interface com.thoughtworks.xstream.io.HierarchicalStreamReaderpublic String getAttributeName(int index)
getAttributeName in interface com.thoughtworks.xstream.io.HierarchicalStreamReaderpublic Iterator getAttributeNames()
getAttributeNames in interface com.thoughtworks.xstream.io.HierarchicalStreamReaderpublic void appendErrors(com.thoughtworks.xstream.converters.ErrorWriter errorWriter)
appendErrors in interface com.thoughtworks.xstream.converters.ErrorReporterappendErrors in interface com.thoughtworks.xstream.io.HierarchicalStreamReaderpublic void close()
close in interface com.thoughtworks.xstream.io.HierarchicalStreamReaderpublic com.thoughtworks.xstream.io.HierarchicalStreamReader underlyingReader()
underlyingReader in interface com.thoughtworks.xstream.io.HierarchicalStreamReaderCopyright © 2010–2018. All rights reserved.