GiniCaptureExtraction

public class GiniCaptureExtraction 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

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

Functions

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

Properties

Link copied to clipboard
public final static int CONTENTS_FILE_DESCRIPTOR
Link copied to clipboard
Link copied to clipboard
public final static int PARCELABLE_WRITE_RETURN_VALUE

Inheritors

Link copied to clipboard