Uses of Class
org.bson.AbstractBsonWriter.State
-
Packages that use AbstractBsonWriter.State Package Description org.bson Contains the base BSON classes. -
-
Uses of AbstractBsonWriter.State in org.bson
Methods in org.bson that return AbstractBsonWriter.State Modifier and Type Method Description protected AbstractBsonWriter.State
AbstractBsonWriter. getNextState()
Returns the next valid state for this writer.protected AbstractBsonWriter.State
AbstractBsonWriter. getState()
Gets the current state of this writer.static AbstractBsonWriter.State
AbstractBsonWriter.State. valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractBsonWriter.State[]
AbstractBsonWriter.State. 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 AbstractBsonWriter.State Modifier and Type Method Description protected void
AbstractBsonWriter. checkPreconditions(String methodName, AbstractBsonWriter.State... validStates)
Checks the writer is in the correct state.protected boolean
AbstractBsonWriter. checkState(AbstractBsonWriter.State[] validStates)
Checks if this writer's current state is in the list of given states.protected void
AbstractBsonWriter. setState(AbstractBsonWriter.State state)
Sets the current state of the writer.protected void
AbstractBsonWriter. throwInvalidState(String methodName, AbstractBsonWriter.State... validStates)
Throws aBsonInvalidOperationException
when the method called is not valid for the current state.
-