public final class CosPdfName extends CosPdfPrimitive
This class represents Pdf Name object.
Constructor and Description |
---|
CosPdfName(String value)
Initializes a new instance of the
CosPdfName class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines that the specified object is equal to the current object.
|
String |
getValue()
Gets the value.
|
int |
hashCode()
Get hashcode for current object.
|
CosPdfName |
toCosPdfName()
Tries cast this instance to
CosPdfName . |
String |
toString()
Returns a
String that represents the current CosPdfName . |
toCosPdfBoolean, toCosPdfNumber, toCosPdfString
public CosPdfName(String value)
Initializes a new instance of the CosPdfName
class.
value
- The name.public final String getValue()
Gets the value.
public CosPdfName toCosPdfName()
Tries cast this instance to CosPdfName
.
toCosPdfName
in interface ICosPdfPrimitive
toCosPdfName
in class CosPdfPrimitive
CosPdfName
else CosPdfName
.public String toString()
Returns a String
that represents the current CosPdfName
.
toString
in interface ICosPdfPrimitive
toString
in class Object
String
that represents the current CosPdfName
.public int hashCode()
Get hashcode for current object.
Copyright © 2024 Aspose. All Rights Reserved.