Package com.itextpdf.kernel.numbering
Class RomanNumbering.RomanDigit
- java.lang.Object
-
- com.itextpdf.kernel.numbering.RomanNumbering.RomanDigit
-
- Enclosing class:
- RomanNumbering
private static class RomanNumbering.RomanDigit extends java.lang.Object
Helper class for Roman Digits
-
-
Constructor Summary
Constructors Constructor Description RomanDigit(char digit, int value, boolean pre)
Constructs a roman digit
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char
getDigit()
Retrieves the roman digit.int
getValue()
Retrieves the value of the roman digit.boolean
isPre()
Retrieves whether the roman digit can be used as prefix.
-
-
-
Method Detail
-
getDigit
public char getDigit()
Retrieves the roman digit.- Returns:
- roman digit
-
getValue
public int getValue()
Retrieves the value of the roman digit.- Returns:
- value
-
isPre
public boolean isPre()
Retrieves whether the roman digit can be used as prefix.- Returns:
- true if it can, false otherwise
-
-