CosPdfName
Inheritance: java.lang.Object, com.aspose.pdf.dataeditor.CosPdfPrimitive com.aspose.pdf.dataeditor.CosPdfName, com.aspose.pdf.dataeditor.CosPdfPrimitive, com.aspose.pdf.dataeditor.CosPdfName
All Implemented Interfaces: ICosPdfPrimitive
public final class CosPdfName extends CosPdfPrimitive
This class represents Pdf Name object.
Constructors
| Constructor | Description |
|---|---|
| CosPdfName | Initializes a new instance of the {@link CosPdfName} class. |
Methods
| Method | Description |
|---|---|
| equals | Determines that the specified object is equal to the current object. |
| getValue | Gets the value. Value: The value. |
| hashCode | Get hashcode for current object. |
| toCosPdfName | Tries cast this instance to {@link CosPdfName}. |
| toString | Returns a {@link String} that represents the current {@link CosPdfName}. |
CosPdfName
Initializes a new instance of the {@link CosPdfName} class.
equals
Determines that the specified object is equal to the current object.
getValue
public final String getValue()
Gets the value. Value: The value.
Returns: String value
hashCode
public int hashCode()
Get hashcode for current object.
Returns: A hash code for current object.
toCosPdfName
public CosPdfName toCosPdfName()
Tries cast this instance to {@link CosPdfName}.
Returns: null if instance is not {@link CosPdfName} else {@link CosPdfName}.
toString
public String toString()
Returns a {@link String} that represents the current {@link CosPdfName}.
Returns: A {@link String} that represents the current {@link CosPdfName}.