public static enum CBORParser.Feature extends Enum<CBORParser.Feature>
| Enum Constant and Description |
|---|
BOGUS
Placeholder before any format-specific features are added.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
collectDefaults()
Method that calculates bit set (flags) of all features that
are enabled by default.
|
boolean |
enabledByDefault() |
int |
getMask() |
static CBORParser.Feature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CBORParser.Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CBORParser.Feature BOGUS
public static CBORParser.Feature[] values()
for (CBORParser.Feature c : CBORParser.Feature.values()) System.out.println(c);
public static CBORParser.Feature valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static int collectDefaults()
public boolean enabledByDefault()
public int getMask()
Copyright © 2014. All rights reserved.