CosPdfPrimitive
Contents
[
Hide
]Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.pdf.utils.publicdata.ICosPdfPrimitive
public abstract class CosPdfPrimitive implements ICosPdfPrimitive
This class represents base public type CosPdfPrimitive.
Constructors
Constructor | Description |
---|---|
CosPdfPrimitive() |
Methods
Method | Description |
---|---|
toCosPdfNumber() | Tries cast this instance to CosPdfNumber. |
toCosPdfName() | Tries cast this instance to CosPdfName. |
toCosPdfString() | Tries cast this instance to CosPdfString. |
toCosPdfBoolean() | Tries cast this instance to CosPdfBoolean. |
CosPdfPrimitive()
public CosPdfPrimitive()
toCosPdfNumber()
public CosPdfNumber toCosPdfNumber()
Tries cast this instance to CosPdfNumber.
Returns: CosPdfNumber - null if instance is not CosPdfNumber else CosPdfNumber.
toCosPdfName()
public CosPdfName toCosPdfName()
Tries cast this instance to CosPdfName.
Returns: CosPdfName - null if instance is not CosPdfName else CosPdfName.
toCosPdfString()
public CosPdfString toCosPdfString()
Tries cast this instance to CosPdfString.
Returns: CosPdfString - null if instance is not CosPdfString else CosPdfString.
toCosPdfBoolean()
public CosPdfBoolean toCosPdfBoolean()
Tries cast this instance to CosPdfBoolean.
Returns: CosPdfBoolean - null if instance is not CosPdfBoolean else CosPdfBoolean.