CosPdfPrimitive
Inheritance: java.lang.Object, com.aspose.pdf.dataeditor.CosPdfPrimitive
All Implemented Interfaces: ICosPdfPrimitive
public abstract class CosPdfPrimitive extends Object implements ICosPdfPrimitive
This class represents base public type {@link CosPdfPrimitive}.
Constructors
| Constructor | Description |
|---|---|
| CosPdfPrimitive |
Methods
| Method | Description |
|---|---|
| toCosPdfBoolean | Tries cast this instance to {@link CosPdfBoolean}. |
| toCosPdfDictionary | Tries cast this instance to {@link CosPdfDictionary}. |
| toCosPdfName | Tries cast this instance to {@link CosPdfName}. |
| toCosPdfNumber | Tries cast this instance to {@link CosPdfNumber}. |
| toCosPdfString | Tries cast this instance to {@link CosPdfString}. |
CosPdfPrimitive
public CosPdfPrimitive()
toCosPdfBoolean
public CosPdfBoolean toCosPdfBoolean()
Tries cast this instance to {@link CosPdfBoolean}.
Returns: null if instance is not {@link CosPdfBoolean} else {@link CosPdfBoolean}.
toCosPdfDictionary
public CosPdfDictionary toCosPdfDictionary()
Tries cast this instance to {@link CosPdfDictionary}.
Returns: null if instance is not {@link CosPdfDictionary} else {@link CosPdfDictionary}.
toCosPdfName
public CosPdfName toCosPdfName()
Tries cast this instance to {@link CosPdfName}.
Returns: null if instance is not {@link CosPdfName} else {@link CosPdfName}.
toCosPdfNumber
public CosPdfNumber toCosPdfNumber()
Tries cast this instance to {@link CosPdfNumber}.
Returns: null if instance is not {@link CosPdfNumber} else {@link CosPdfNumber}.
toCosPdfString
public CosPdfString toCosPdfString()
Tries cast this instance to {@link CosPdfString}.
Returns: null if instance is not {@link CosPdfString} else {@link CosPdfString}.