Class CosName


  • public class CosName
    extends CosScalar
    Represents a COS name object as defined in section 3.2.4 of the PDF Reference Manual version 1.4.
    • Method Detail

      • getType

        public int getType()
        return the type of this CosObject
        Specified by:
        getType in class CosObject
        Returns:
        one of the t_Mumble static final int values defined above
      • nameValue

        public ASName nameValue()
        Returns the atom that is represented by the COS name object.
        Overrides:
        nameValue in class CosObject
        Returns:
        Atom wrapped by the name object.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class CosObject
      • getValue

        public java.lang.Object getValue()
        Specified by:
        getValue in class CosObject
        Returns:
        Object value of CosObject
      • equals

        public boolean equals​(CosObject value)
        This method returns true if both CosNames have same ASName inside. Returns false if passed CosObject is not an instance of CosName.
        Specified by:
        equals in class CosObject
        Parameters:
        value -
        Returns:
        boolean