Class IdsObject


  • public class IdsObject
    extends java.lang.Object
    Represents ids element, child of the xfdf element. Corresponds to the ID key in the file dictionary. The two attributes are file identifiers for the source or target file designated by the f element, taken from the ID entry in the file’s trailer dictionary. Attributes: original, modified. For more details see paragraph 6.2.3 in Xfdf document specification.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String modified
      The attribute contains a unique identifier for the modified version of the pdf and corresponding xfdf document.
      private java.lang.String original
      This attribute corresponds to the permanent identifier which is based on the contents of the file at the time it was originally created.
    • Constructor Summary

      Constructors 
      Constructor Description
      IdsObject()
      Creates an instance of IdsObject.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getModified()
      Gets the string value of the unique identifier for the modified version of the pdf and corresponding xfdf document.
      java.lang.String getOriginal()
      Gets the string value of the permanent identifier which is based on the contents of the file at the time it was originally created.
      IdsObject setModified​(java.lang.String modified)
      Sets the string value of the unique identifier for the modified version of the pdf and corresponding xfdf document.
      IdsObject setOriginal​(java.lang.String original)
      Sets the string value of the permanent identifier which is based on the contents of the file at the time it was originally created.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • original

        private java.lang.String original
        This attribute corresponds to the permanent identifier which is based on the contents of the file at the time it was originally created. This value does not change when the file is incrementally updated. The value shall be a hexadecimal number. A common value for this is an MD5 checksum.
      • modified

        private java.lang.String modified
        The attribute contains a unique identifier for the modified version of the pdf and corresponding xfdf document. The modified attribute corresponds to the changing identifier that is based on the file's contents at the time it was last updated. The value shall be a hexadecimal number. A common value for this is an MD5 checksum.
    • Constructor Detail

      • IdsObject

        public IdsObject()
        Creates an instance of IdsObject.
    • Method Detail

      • getOriginal

        public java.lang.String getOriginal()
        Gets the string value of the permanent identifier which is based on the contents of the file at the time it was originally created. This value does not change when the file is incrementally updated. The value shall be a hexadecimal number.
        Returns:
        the permanent identifier value.
      • setOriginal

        public IdsObject setOriginal​(java.lang.String original)
        Sets the string value of the permanent identifier which is based on the contents of the file at the time it was originally created. This value does not change when the file is incrementally updated. The value shall be a hexadecimal number. A common value for this is an MD5 checksum.
        Parameters:
        original - the permanent identifier value
        Returns:
        current ids object.
      • getModified

        public java.lang.String getModified()
        Gets the string value of the unique identifier for the modified version of the pdf and corresponding xfdf document. The modified attribute corresponds to the changing identifier that is based on the file's contents at the time it was last updated. The value shall be a hexadecimal number.
        Returns:
        the unique identifier value.
      • setModified

        public IdsObject setModified​(java.lang.String modified)
        Sets the string value of the unique identifier for the modified version of the pdf and corresponding xfdf document. The modified attribute corresponds to the changing identifier that is based on the file's contents at the time it was last updated. The value shall be a hexadecimal number. A common value for this is an MD5 checksum.
        Parameters:
        modified - the unique identifier value
        Returns:
        current ids object.