Class DocumentAttribute

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.DocumentAttribute
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class DocumentAttribute
extends com.ibm.cloud.sdk.core.service.model.GenericModel
List of document attributes.
  • Constructor Details

    • DocumentAttribute

      public DocumentAttribute()
  • Method Details

    • getType

      public String getType()
      Gets the type.

      The type of attribute.

      Returns:
      the type
    • getText

      public String getText()
      Gets the text.

      The text associated with the attribute.

      Returns:
      the text
    • getLocation

      public TableElementLocation getLocation()
      Gets the location.

      The numeric location of the identified element in the document, represented with two integers labeled `begin` and `end`.

      Returns:
      the location