public static enum Message.StringFormat extends Enum<Message.StringFormat>
Enum Constant and Description |
---|
FIELD_VALUE
Output string will contain field values only.
|
TAG_NAME
Output string will contain field names and field values.
|
TAG_NUMBER
Output string will contain tag numbers and field values.
|
Modifier and Type | Method and Description |
---|---|
void |
format(ByteBuffer bb,
byte[] tag,
byte[] name,
ValuePtr value,
char delimiter) |
static Message.StringFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.StringFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.StringFormat FIELD_VALUE
public static final Message.StringFormat TAG_NUMBER
public static final Message.StringFormat TAG_NAME
public static Message.StringFormat[] values()
for (Message.StringFormat c : Message.StringFormat.values()) System.out.println(c);
public static Message.StringFormat 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 void format(ByteBuffer bb, byte[] tag, byte[] name, ValuePtr value, char delimiter)
Copyright © 2005–2024 Onix Solutions. All rights reserved.