Uses of Class
org.bson.BsonContextType
-
Packages that use BsonContextType Package Description org.bson Contains the base BSON classes.org.bson.json JSON serialization and deserialization. -
-
Uses of BsonContextType in org.bson
Methods in org.bson that return BsonContextType Modifier and Type Method Description protected BsonContextType
AbstractBsonReader.Context. getContextType()
Return the type of this context.protected BsonContextType
AbstractBsonReader.Mark. getContextType()
BsonContextType
AbstractBsonWriter.Context. getContextType()
Gets the current context type.static BsonContextType
BsonContextType. valueOf(String name)
Returns the enum constant of this type with the specified name.static BsonContextType[]
BsonContextType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.bson with parameters of type BsonContextType Modifier and Type Method Description protected void
AbstractBsonReader. throwInvalidContextType(String methodName, BsonContextType actualContextType, BsonContextType... validContextTypes)
Throws an InvalidOperationException when the method called is not valid for the current ContextType.protected void
AbstractBsonWriter. throwInvalidContextType(String methodName, BsonContextType actualContextType, BsonContextType... validContextTypes)
Throws an InvalidOperationException when the method called is not valid for the current ContextType.Constructors in org.bson with parameters of type BsonContextType Constructor Description Context(AbstractBsonReader.Context parentContext, BsonContextType contextType)
Creates a new instance.Context(AbstractBsonWriter.Context parentContext, BsonContextType contextType)
Creates a new instance.Context(BsonBinaryWriter.Context parentContext, BsonContextType contextType, int startPosition)
Creates a new instanceContext(BsonDocumentReader.Context parentContext, BsonContextType contextType, BsonArray array)
Context(BsonDocumentReader.Context parentContext, BsonContextType contextType, BsonDocument document)
-
Uses of BsonContextType in org.bson.json
Methods in org.bson.json that return BsonContextType Modifier and Type Method Description protected BsonContextType
JsonReader.Context. getContextType()
Constructors in org.bson.json with parameters of type BsonContextType Constructor Description Context(AbstractBsonReader.Context parentContext, BsonContextType contextType)
Context(JsonWriter.Context parentContext, BsonContextType contextType)
Creates a new context.Context(JsonWriter.Context parentContext, BsonContextType contextType, String indentChars)
Deprecated.
-