GiniVisionExtraction

public class GiniVisionExtraction implements Parcelable

Contains a Gini API extraction.

An extraction contains an entity describing the general semantic type of the extraction (e.g. a date), which also determines the format of the value containing the information as text. Optionally there may be a box describing the position of the extraction value on the document. In most instances, extractions without a bounding box are meta information (e.g. doctype).

Constructors

GiniVisionExtraction
Link copied to clipboard
void GiniVisionExtraction(@NonNull() String value, @NonNull() String entity, @Nullable() GiniVisionBox box)
Value object for an extraction from the Gini API.

Functions

describeContents
Link copied to clipboard
int describeContents()
getBox
Link copied to clipboard
synchronized GiniVisionBox getBox()
getEntity
Link copied to clipboard
synchronized String getEntity()
getValue
Link copied to clipboard
synchronized String getValue()
isDirty
Link copied to clipboard
synchronized boolean isDirty()
setBox
Link copied to clipboard
synchronized void setBox(@Nullable() GiniVisionBox newBox)
Set a new bounding box.
setIsDirty
Link copied to clipboard
synchronized void setIsDirty(boolean isDirty)
setValue
Link copied to clipboard
synchronized void setValue(@NonNull() String newValue)
Set a new value for this extraction.
toString
Link copied to clipboard
String toString()
writeToParcel
Link copied to clipboard
void writeToParcel(Parcel dest, int flags)

Properties

CREATOR
Link copied to clipboard
public final static Parcelable.Creator<GiniVisionExtractionCREATOR

Inheritors

GiniVisionSpecificExtraction
Link copied to clipboard