@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.
|
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.
|
arrayDone, arrayStart, create, createBSONCallback, get, gotBinary, gotBinaryArray, gotBoolean, gotCode, gotCodeWScope, gotDate, gotDBRef, gotDecimal128, gotDouble, gotInt, gotLong, gotMaxKey, gotMinKey, gotNull, gotObjectId, gotRegex, gotString, gotSymbol, gotTimestamp, gotUndefined, gotUUID, objectStart, reset
public static final java.lang.String _msDateFormat
public static final java.lang.String _secDateFormat
public BSONObject create()
BasicBSONCallback
create
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
Copyright © 2010 - 2020 Adobe. All Rights Reserved