it.unimi.di.mg4j.document
Enum IdentityDocumentFactory.MetadataKeys
java.lang.Object
java.lang.Enum<IdentityDocumentFactory.MetadataKeys>
it.unimi.di.mg4j.document.IdentityDocumentFactory.MetadataKeys
- All Implemented Interfaces:
- Serializable, Comparable<IdentityDocumentFactory.MetadataKeys>
- Enclosing class:
- IdentityDocumentFactory
public static enum IdentityDocumentFactory.MetadataKeys
- extends Enum<IdentityDocumentFactory.MetadataKeys>
Case-insensitive keys for metadata.
- See Also:
PropertyBasedDocumentFactory.MetadataKeys
Enum Constant Summary |
FIELDNAME
The tag for the optional name of the only field provided by this factory. |
FIELDNAME
public static final IdentityDocumentFactory.MetadataKeys FIELDNAME
- The tag for the optional name of the only field provided by this factory.
values
public static IdentityDocumentFactory.MetadataKeys[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (IdentityDocumentFactory.MetadataKeys c : IdentityDocumentFactory.MetadataKeys.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static IdentityDocumentFactory.MetadataKeys valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null