java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.compare_comply.v1.model.DocInfo
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class DocInfo
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Information about the parsed input document.
  • Constructor Summary

    Constructors
    Constructor Description
    DocInfo()  
  • Method Summary

    Modifier and Type Method Description
    String getHash()
    Gets the hash.
    String getHtml()
    Gets the html.
    String getTitle()
    Gets the title.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DocInfo

      public DocInfo()
  • Method Details

    • getHtml

      public String getHtml()
      Gets the html.

      The full text of the parsed document in HTML format.

      Returns:
      the html
    • getTitle

      public String getTitle()
      Gets the title.

      The title of the parsed document. If the service did not detect a title, the value of this element is `null`.

      Returns:
      the title
    • getHash

      public String getHash()
      Gets the hash.

      The MD5 hash of the input document.

      Returns:
      the hash