Package org.apache.fop.pdf
Enum Class PDFInfo.StandardKey
- All Implemented Interfaces:
Serializable
,Comparable<PDFInfo.StandardKey>
,Constable
- Enclosing class:
- PDFInfo
The standard keys in the Document Information Dictionary
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PDFInfo.StandardKey
Returns the standard key that corresponds to the given name.getName()
Returns the name of this key.static PDFInfo.StandardKey
Returns the enum constant of this class with the specified name.static PDFInfo.StandardKey[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TITLE
-
AUTHOR
-
SUBJECT
-
KEYWORDS
-
CREATOR
-
PRODUCER
-
CREATION_DATE
-
MOD_DATE
-
TRAPPED
-
-
Field Details
-
name
-
-
Constructor Details
-
StandardKey
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
get
Returns the standard key that corresponds to the given name.- Parameters:
name
- key name- Returns:
- the key whose name exactly matches the given name (case-sensitive)
-
getName
Returns the name of this key.- Returns:
- the name as it would appear in the Info dictionary without the leading slash
-