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

ConstructorDescription
CosPdfPrimitive

Methods

MethodDescription
toCosPdfBooleanTries cast this instance to {@link CosPdfBoolean}.
toCosPdfDictionaryTries cast this instance to {@link CosPdfDictionary}.
toCosPdfNameTries cast this instance to {@link CosPdfName}.
toCosPdfNumberTries cast this instance to {@link CosPdfNumber}.
toCosPdfStringTries 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}.