public enum BufferElementType extends Enum<BufferElementType>
| Enum Constant and Description |
|---|
BINARY_EVENT |
END |
EVENT |
EXCEPTION_EVENT |
FINISH_EVENT |
START_EVENT |
STRING |
TAGS |
| Modifier and Type | Field and Description |
|---|---|
byte |
id |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isEvent(Byte id) |
static BufferElementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BufferElementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BufferElementType TAGS
public static final BufferElementType STRING
public static final BufferElementType END
public static final BufferElementType EVENT
public static final BufferElementType BINARY_EVENT
public static final BufferElementType EXCEPTION_EVENT
public static final BufferElementType START_EVENT
public static final BufferElementType FINISH_EVENT
public static BufferElementType[] values()
for (BufferElementType c : BufferElementType.values()) System.out.println(c);
public static BufferElementType 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 boolean isEvent(Byte id)
Copyright © 2016. All rights reserved.