Package org.apache.fop.pdf
Enum PDFInfo.StandardKey
- All Implemented Interfaces:
Serializable
,Comparable<PDFInfo.StandardKey>
,java.lang.constant.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
-
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 type with the specified name.static PDFInfo.StandardKey[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TITLE
-
AUTHOR
-
SUBJECT
-
KEYWORDS
-
CREATOR
-
PRODUCER
-
CREATION_DATE
-
MOD_DATE
-
TRAPPED
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 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
-