Package com.gitlab.pdftk_java
Enum PdfPageLabel.NumberingStyle
- java.lang.Object
-
- java.lang.Enum<PdfPageLabel.NumberingStyle>
-
- com.gitlab.pdftk_java.PdfPageLabel.NumberingStyle
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PdfPageLabel.NumberingStyle>
- Enclosing class:
- PdfPageLabel
static enum PdfPageLabel.NumberingStyle extends java.lang.Enum<PdfPageLabel.NumberingStyle>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DECIMAL_ARABIC_NUMERALS
EMPTY
ERROR
LOWERCASE_LETTERS
LOWERCASE_ROMAN_NUMERALS
UPPERCASE_LETTERS
UPPERCASE_ROMAN_NUMERALS
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.util.HashMap<PdfName,PdfPageLabel.NumberingStyle>
fromPdfName
(package private) static java.util.HashMap<java.lang.String,PdfPageLabel.NumberingStyle>
fromString
(package private) java.lang.String
representation
(package private) PdfName
tag
(package private) int
value
-
Constructor Summary
Constructors Modifier Constructor Description private
NumberingStyle(int value, java.lang.String representation, PdfName tag)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PdfPageLabel.NumberingStyle
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PdfPageLabel.NumberingStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DECIMAL_ARABIC_NUMERALS
public static final PdfPageLabel.NumberingStyle DECIMAL_ARABIC_NUMERALS
-
UPPERCASE_ROMAN_NUMERALS
public static final PdfPageLabel.NumberingStyle UPPERCASE_ROMAN_NUMERALS
-
LOWERCASE_ROMAN_NUMERALS
public static final PdfPageLabel.NumberingStyle LOWERCASE_ROMAN_NUMERALS
-
UPPERCASE_LETTERS
public static final PdfPageLabel.NumberingStyle UPPERCASE_LETTERS
-
LOWERCASE_LETTERS
public static final PdfPageLabel.NumberingStyle LOWERCASE_LETTERS
-
EMPTY
public static final PdfPageLabel.NumberingStyle EMPTY
-
ERROR
public static final PdfPageLabel.NumberingStyle ERROR
-
-
Field Detail
-
value
final int value
-
representation
final java.lang.String representation
-
tag
final PdfName tag
-
fromString
static final java.util.HashMap<java.lang.String,PdfPageLabel.NumberingStyle> fromString
-
fromPdfName
static final java.util.HashMap<PdfName,PdfPageLabel.NumberingStyle> fromPdfName
-
-
Constructor Detail
-
NumberingStyle
private NumberingStyle(int value, java.lang.String representation, PdfName tag)
-
-
Method Detail
-
values
public static PdfPageLabel.NumberingStyle[] 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 (PdfPageLabel.NumberingStyle c : PdfPageLabel.NumberingStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PdfPageLabel.NumberingStyle valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-