Packages

 

com.aspose.imaging.xmp

Class XmpTrailerPi

  • All Implemented Interfaces:
    IXmlValue, com.aspose.ms.System.IEquatable<XmpTrailerPi>


    public final class XmpTrailerPi
    extends Object
    implements IXmlValue, com.aspose.ms.System.IEquatable<XmpTrailerPi>

    Represents XMP trailer processing instruction.

    The end="w" or end="r" portion shall be used by packet scanning processors to determine whether the XMP may be modified in-place.

    • Constructor Summary

      Constructors 
      Constructor and Description
      XmpTrailerPi()
      Initializes a new instance of the XmpTrailerPi class.
      XmpTrailerPi(boolean isWritable)
      Initializes a new instance of the XmpTrailerPi class.
    • Constructor Detail

      • XmpTrailerPi

        public XmpTrailerPi(boolean isWritable)

        Initializes a new instance of the XmpTrailerPi class.

        Parameters:
        isWritable - Inditacates whether trailer is writable.
      • XmpTrailerPi

        public XmpTrailerPi()

        Initializes a new instance of the XmpTrailerPi class.

    • Method Detail

      • isWritable

        public boolean isWritable()

        Gets or sets a value indicating whether this instance is writable.

        Value: true if this instance is writable; otherwise, false.
      • setWritable

        public void setWritable(boolean value)

        Gets or sets a value indicating whether this instance is writable.

        Value: true if this instance is writable; otherwise, false.
      • getXmlValue

        public String getXmlValue()

        Converts xmp value to the xml representation.

        Specified by:
        getXmlValue in interface IXmlValue
        Returns:
        Returns XML representation of XMP.
      • isEquals

        public boolean isEquals(XmpTrailerPi other)

        Indicates whether the current object is equal to another object of the same type.

        Parameters:
        other - An object to compare with this object.
        Returns:
        true if the current object is equal to the other parameter; otherwise, false.
      • equals

        public boolean equals(Object obj)

        Determines whether the specified System.Object, is equal to this instance.

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<XmpTrailerPi>
        Overrides:
        equals in class Object
        Parameters:
        obj - The System.Object to compare with this instance.
        Returns:
        true if the specified System.Object is equal to this instance; otherwise, false.
      • hashCode

        public int hashCode()

        Returns a hash code for this instance.

        Overrides:
        hashCode in class Object
        Returns:
        A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.