com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

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.
    • Constructor Detail

      • XmpTrailerPI

        public XmpTrailerPI(boolean isWritable)

        Initializes a new instance of the XmpTrailerPI class.

        Parameters:
        isWritable - Indicates whether trailer is writable.
      • XmpTrailerPI

        public XmpTrailerPI()

        Initializes a new instance of the XmpTrailerPI class.

    • Method Detail

      • isWritable

        public final boolean isWritable()

        Indicates whether form may be modified in-place.

        Value: true if XMP packet is writable; otherwise, false.
      • setWritable

        public final void setWritable(boolean value)

        Indicates whether form may be modified in-place.

        Value: true if XMP packet is writable; otherwise, false.
      • getXmlValue

        public final String getXmlValue()

        Converts XMP value to the xml representation.

        Specified by:
        getXmlValue in interface IXmlValue
        Returns:
        Returns string representation of XMP value.
      • equals

        public final boolean equals(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 other)

        Compares with other and returns true if objects are equal.

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<XmpTrailerPI>
        Overrides:
        equals in class Object
        Parameters:
        other - Compared object.
        Returns:
        true if objects are equal.
      • 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.