public static enum BsonParser.Feature extends java.lang.Enum<BsonParser.Feature>
| Enum Constant and Description |
|---|
HONOR_DOCUMENT_LENGTH
Honors the document length field when parsing, useful for when
reading from streams that may contain other content after the
document that will be read by something else.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMask() |
static BsonParser.Feature |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BsonParser.Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BsonParser.Feature HONOR_DOCUMENT_LENGTH
public static BsonParser.Feature[] values()
for (BsonParser.Feature c : BsonParser.Feature.values()) System.out.println(c);
public static BsonParser.Feature valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getMask()