BSONCallback
@Deprecated public class JSONCallback extends BasicBSONCallback
Modifier and Type | Field | Description |
---|---|---|
static String |
_msDateFormat |
Deprecated.
|
static String |
_secDateFormat |
Deprecated.
|
Constructor | Description |
---|---|
JSONCallback() |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
void |
arrayStart(String name) |
Deprecated.
Signals the start of a BSON array, with its field name.
|
BSONObject |
create() |
Deprecated.
Factory method for creating a new BSONObject.
|
protected BSONObject |
createList() |
Deprecated.
Factory method for creating a new BSON List.
|
Object |
objectDone() |
Deprecated.
Called at the end of the document/array, and returns this object.
|
void |
objectStart(String name) |
Deprecated.
Signals the start of a BSON document, which usually maps onto some Java object.
|
_put, arrayDone, arrayStart, create, createBSONCallback, cur, curName, get, gotBinary, gotBinaryArray, gotBoolean, gotCode, gotCodeWScope, gotDate, gotDBRef, gotDecimal128, gotDouble, gotInt, gotLong, gotMaxKey, gotMinKey, gotNull, gotObjectId, gotRegex, gotString, gotSymbol, gotTimestamp, gotUndefined, gotUUID, isStackEmpty, objectStart, reset, setRoot
public static final String _msDateFormat
public static final String _secDateFormat
public BSONObject create()
BasicBSONCallback
create
in class BasicBSONCallback
protected BSONObject createList()
BasicBSONCallback
createList
in class BasicBSONCallback
public void arrayStart(String name)
BSONCallback
arrayStart
in interface BSONCallback
arrayStart
in class BasicBSONCallback
name
- the name of this array fieldpublic void objectStart(String name)
BSONCallback
objectStart
in interface BSONCallback
objectStart
in class BasicBSONCallback
name
- the field name of the document.public Object objectDone()
BSONCallback
objectDone
in interface BSONCallback
objectDone
in class BasicBSONCallback