| java.lang.Object | |
| ↳ | com.pspdfkit.document.PdfValue |
This represents a value stored inside a PDF document stream. The PDF has a few different data types of values that
are reasonably interchangable. The type can be retrieved with getType() and can be one of PdfValue.PdfValueType.
When creating a new value, the type will be automatically set depending on the constructor parameter.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| enum | PdfValue.PdfValueType | Type of a value stored in the PDF document stream. | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
PdfValue(long longValue)
Creates a new PDF value of
INTEGER type. | |||||||||||
|
PdfValue(double doubleValue)
Creates a new PDF value of
DOUBLE type. | |||||||||||
|
PdfValue(boolean booleanValue)
Creates a new PDF value of
BOOLEAN type. | |||||||||||
|
PdfValue(String stringValue)
Creates a new PDF value of
STRING type. | |||||||||||
|
PdfValue(List<PdfValue> listValue)
Creates a new PDF value of
ARRAY type. | |||||||||||
|
PdfValue(Map<String, PdfValue> mapValue)
Creates a new PDF value of
DICTIONARY type. | |||||||||||
|
PdfValue()
Creates a new PDF value of
NULLOBJ type. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| List<PdfValue> | getArray() | ||||||||||
| boolean | getBoolean() | ||||||||||
| Map<String, PdfValue> | getDictionary() | ||||||||||
| double | getDouble() | ||||||||||
| long | getLong() | ||||||||||
| String | getString() | ||||||||||
| PdfValue.PdfValueType | getType() | ||||||||||
| String | toString() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||