public static enum AbstractMultipleParser.MetadataPolicy extends Enum<AbstractMultipleParser.MetadataPolicy>
Enum Constant and Description |
---|
DISCARD_ALL
Before moving onto another parser, throw away
all previously seen metadata
|
FIRST_WINS
The first parser to output a given key wins,
merge in non-clashing other keys
|
KEEP_ALL
Where multiple parsers output a given key,
store all their different (unique) values
|
LAST_WINS
The last parser to output a given key wins,
overriding previous parser values for a
clashing key.
|
Modifier and Type | Method and Description |
---|---|
static AbstractMultipleParser.MetadataPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractMultipleParser.MetadataPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractMultipleParser.MetadataPolicy DISCARD_ALL
public static final AbstractMultipleParser.MetadataPolicy FIRST_WINS
public static final AbstractMultipleParser.MetadataPolicy LAST_WINS
public static final AbstractMultipleParser.MetadataPolicy KEEP_ALL
public static AbstractMultipleParser.MetadataPolicy[] values()
for (AbstractMultipleParser.MetadataPolicy c : AbstractMultipleParser.MetadataPolicy.values()) System.out.println(c);
public static AbstractMultipleParser.MetadataPolicy 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 nullCopyright © 2007–2023 The Apache Software Foundation. All rights reserved.