public enum ContextAttributes extends Enum<ContextAttributes>
| Enum Constant and Description |
|---|
DATACONTENTTYPE |
DATASCHEMA |
ID |
SOURCE |
SPECVERSION |
SUBJECT |
TIME |
TYPE |
| Modifier and Type | Method and Description |
|---|---|
static ContextAttributes |
parse(String value) |
String |
toString() |
static ContextAttributes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContextAttributes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContextAttributes ID
public static final ContextAttributes SOURCE
public static final ContextAttributes SPECVERSION
public static final ContextAttributes TYPE
public static final ContextAttributes DATACONTENTTYPE
public static final ContextAttributes DATASCHEMA
public static final ContextAttributes SUBJECT
public static final ContextAttributes TIME
public static ContextAttributes[] values()
for (ContextAttributes c : ContextAttributes.values()) System.out.println(c);
public static ContextAttributes 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 ContextAttributes parse(String value)
public String toString()
toString in class Enum<ContextAttributes>Copyright © 2020. All rights reserved.