Packages

 

com.aspose.psd.xmp

Class XmpTrailerPi

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


    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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(Object obj)
      Determines whether the specified System.Object, is equal to this instance.
      String getXmlValue()
      Converts xmp value to the xml representation.
      int hashCode()
      Returns a hash code for this instance.
      boolean isEquals(XmpTrailerPi other)
      Indicates whether the current object is equal to another object of the same type.
      boolean isWritable()
      Gets or sets a value indicating whether this instance is writable.
      void setWritable(boolean value)
      Gets or sets a value indicating whether this instance is writable.
    • 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.

        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.