ICosPdfPrimitive
public interface ICosPdfPrimitive
Interface for work with PDF data entity
Methods
Method | Description |
---|---|
toCosPdfName() | Tries cast this instance to CosPdfName. |
toCosPdfString() | Tries cast this instance to CosPdfString. |
toCosPdfBoolean() | Tries cast this instance to CosPdfBoolean. |
toCosPdfNumber() | Tries cast this instance to CosPdfNumber. |
toString() | String representation of instance ICosPdfPrimitive. |
toCosPdfName()
public abstract CosPdfName toCosPdfName()
Tries cast this instance to CosPdfName.
Returns: CosPdfName - null if instance is not CosPdfName else CosPdfName.
toCosPdfString()
public abstract CosPdfString toCosPdfString()
Tries cast this instance to CosPdfString.
Returns: CosPdfString - null if instance is not CosPdfString else CosPdfString.
toCosPdfBoolean()
public abstract CosPdfBoolean toCosPdfBoolean()
Tries cast this instance to CosPdfBoolean.
Returns: CosPdfBoolean - null if instance is not CosPdfBoolean else CosPdfBoolean.
toCosPdfNumber()
public abstract CosPdfNumber toCosPdfNumber()
Tries cast this instance to CosPdfNumber.
Returns: CosPdfNumber - null if instance is not CosPdfNumber else CosPdfNumber.
toString()
public abstract String toString()
String representation of instance ICosPdfPrimitive.
Returns: java.lang.String - Value of String representation of instance ICosPdfPrimitive.