protected static class BsonReader.Reader extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
BsonReader.Reader(BsonDataInput data,
DocumentValueFactory valueFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected Document |
endDocument() |
protected String |
readCString() |
protected MutableDocument |
readDocument(boolean array) |
protected void |
readElement(byte type,
MutableDocument bson) |
protected String |
readString() |
protected void |
startArray() |
protected void |
startDocument() |
protected BsonReader.Reader(BsonDataInput data, DocumentValueFactory valueFactory)
protected void startDocument()
throws IOException
IOExceptionprotected void startArray()
throws IOException
IOExceptionprotected MutableDocument readDocument(boolean array) throws IOException
IOExceptionprotected void readElement(byte type,
MutableDocument bson)
throws IOException
IOExceptionprotected String readCString() throws IOException
IOExceptionprotected String readString() throws IOException
IOExceptionprotected Document endDocument()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.