ICosPdfPrimitive

public interface ICosPdfPrimitive

Interface for work with PDF data entity

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}.
toString{@link String} representation of instance {@link ICosPdfPrimitive}.

toCosPdfBoolean

CosPdfBoolean toCosPdfBoolean()

Tries cast this instance to {@link CosPdfBoolean}.

Returns: null if instance is not {@link CosPdfBoolean} else {@link CosPdfBoolean}.

toCosPdfDictionary

CosPdfDictionary toCosPdfDictionary()

Tries cast this instance to {@link CosPdfDictionary}.

Returns: null if instance is not {@link CosPdfDictionary} else {@link CosPdfDictionary}.

toCosPdfName

CosPdfName toCosPdfName()

Tries cast this instance to {@link CosPdfName}.

Returns: null if instance is not {@link CosPdfName} else {@link CosPdfName}.

toCosPdfNumber

CosPdfNumber toCosPdfNumber()

Tries cast this instance to {@link CosPdfNumber}.

Returns: null if instance is not {@link CosPdfNumber} else {@link CosPdfNumber}.

toCosPdfString

CosPdfString toCosPdfString()

Tries cast this instance to {@link CosPdfString}.

Returns: null if instance is not {@link CosPdfString} else {@link CosPdfString}.

toString

String toString()

{@link String} representation of instance {@link ICosPdfPrimitive}.

Returns: Value of {@link String} representation of instance {@link ICosPdfPrimitive}.