public enum HeaderKey extends Enum<HeaderKey>
Header
.Enum Constant and Description |
---|
COMMENT
Header comment.
|
CREATION_DATE
Creation date.
|
MESSAGE_ID
ID that uniquely identifies a message from a given originator.
|
ORIGINATOR
Creating agency or operator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
process(ParseToken token,
ContextBinding context,
Header header)
Process an token.
|
static HeaderKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeaderKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeaderKey COMMENT
public static final HeaderKey CREATION_DATE
public static final HeaderKey ORIGINATOR
public static final HeaderKey MESSAGE_ID
public static HeaderKey[] values()
for (HeaderKey c : HeaderKey.values()) System.out.println(c);
public static HeaderKey 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 boolean process(ParseToken token, ContextBinding context, Header header)
token
- token to processcontext
- context bindingheader
- header to fillCopyright © 2002-2022 CS GROUP. All rights reserved.