public enum MetadataKey extends Enum<MetadataKey>
NDM Metadata
entries.Enum Constant and Description |
---|
COMMENT
Comment entry.
|
TIME_SYSTEM
Time system entry.
|
Modifier and Type | Method and Description |
---|---|
boolean |
process(ParseToken token,
ContextBinding context,
Metadata metadata)
Process an token.
|
static MetadataKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetadataKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetadataKey COMMENT
public static final MetadataKey TIME_SYSTEM
public static MetadataKey[] values()
for (MetadataKey c : MetadataKey.values()) System.out.println(c);
public static MetadataKey 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, Metadata metadata)
token
- token to processcontext
- context bindingmetadata
- metadata to fillCopyright © 2002-2022 CS GROUP. All rights reserved.