it.unimi.dsi.mg4j.document
Enum PdfDocumentFactory.MetadataKeys

java.lang.Object
  extended by java.lang.Enum<PdfDocumentFactory.MetadataKeys>
      extended by it.unimi.dsi.mg4j.document.PdfDocumentFactory.MetadataKeys
All Implemented Interfaces:
Serializable, Comparable<PdfDocumentFactory.MetadataKeys>
Enclosing class:
PdfDocumentFactory

public static enum PdfDocumentFactory.MetadataKeys
extends Enum<PdfDocumentFactory.MetadataKeys>

Case-insensitive keys for metadata.

See Also:
PropertyBasedDocumentFactory.MetadataKeys

Enum Constant Summary
PARSETITLE
          A property specifying that the factory should use the first line of text as a title (not implemented).
 
Method Summary
static PdfDocumentFactory.MetadataKeys valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PdfDocumentFactory.MetadataKeys[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PARSETITLE

public static final PdfDocumentFactory.MetadataKeys PARSETITLE
A property specifying that the factory should use the first line of text as a title (not implemented).

Method Detail

values

public static final PdfDocumentFactory.MetadataKeys[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(PdfDocumentFactory.MetadataKeys c : PdfDocumentFactory.MetadataKeys.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static PdfDocumentFactory.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