Class Digest

  • All Implemented Interfaces:
    java.io.Serializable

    public class Digest
    extends java.lang.Object
    implements java.io.Serializable
    Document file digest <p>Java class for Digest complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="Digest"&gt; &lt;complexContent&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;sequence&gt; &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/&gt; &lt;element name="algorithm" type="{http://www.w3.org/2001/XMLSchema}string"/&gt; &lt;/sequence&gt; &lt;/restriction&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String algorithm
      The digest algorithm to use
      protected java.lang.String value
      The digest value
    • Constructor Summary

      Constructors 
      Constructor Description
      Digest()
      Default no-arg constructor abc
      Digest​(java.lang.String value, java.lang.String algorithm)
      Fully-initialising value constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      java.lang.String getAlgorithm()
      Gets the value of the algorithm property.
      java.lang.String getValue()
      Gets the value of the value property.
      int hashCode()  
      void setAlgorithm​(java.lang.String value)
      Sets the value of the algorithm property.
      void setValue​(java.lang.String value)
      Sets the value of the value property.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • value

        protected java.lang.String value
        The digest value
      • algorithm

        protected java.lang.String algorithm
        The digest algorithm to use
    • Constructor Detail

      • Digest

        public Digest()
        Default no-arg constructor abc
      • Digest

        public Digest​(java.lang.String value,
                      java.lang.String algorithm)
        Fully-initialising value constructor
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Gets the value of the value property. <p> The digest value
        Returns:
        possible object is String
      • setValue

        public void setValue​(java.lang.String value)
        Sets the value of the value property.
        Parameters:
        value - allowed object is String
        See Also:
        getValue()
      • getAlgorithm

        public java.lang.String getAlgorithm()
        Gets the value of the algorithm property. <p> The digest algorithm to use
        Returns:
        possible object is String
      • setAlgorithm

        public void setAlgorithm​(java.lang.String value)
        Sets the value of the algorithm property.
        Parameters:
        value - allowed object is String
        See Also:
        getAlgorithm()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object