@Deprecated public class JSONCallback extends BasicBSONCallback
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_msDateFormat
Deprecated.
|
static java.lang.String |
_secDateFormat
Deprecated.
|
Constructor and Description |
---|
JSONCallback()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
arrayStart(java.lang.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.
|
java.lang.Object |
objectDone()
Deprecated.
Called at the end of the document/array, and returns this object.
|
void |
objectStart(java.lang.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 java.lang.String _msDateFormat
public static final java.lang.String _secDateFormat
public BSONObject create()
BasicBSONCallback
create
in class BasicBSONCallback
protected BSONObject createList()
BasicBSONCallback
createList
in class BasicBSONCallback
public void arrayStart(java.lang.String name)
BSONCallback
arrayStart
in interface BSONCallback
arrayStart
in class BasicBSONCallback
name
- the name of this array fieldpublic void objectStart(java.lang.String name)
BSONCallback
objectStart
in interface BSONCallback
objectStart
in class BasicBSONCallback
name
- the field name of the document.public java.lang.Object objectDone()
BSONCallback
objectDone
in interface BSONCallback
objectDone
in class BasicBSONCallback