GiniCaptureSpecificExtraction

Contains a Gini API specific extraction.

A specific extraction assings a semantic property to an extraction and it may contain a list of extraction candidates.

The extraction candidates are other suggestions for this specific extraction (e.g. all amounts on the document). Candidates are of the same entity as the found extraction.

Constructors

Link copied to clipboard
public void GiniCaptureSpecificExtraction(@NonNull() String name, @NonNull() String value, @NonNull() String entity, @Nullable() GiniCaptureBox box, @NonNull() List<GiniCaptureExtraction> candidates)
Value object for a specific extraction from the Gini API.

Functions

Link copied to clipboard
public abstract int describeContents()
public int describeContents()
Link copied to clipboard
public synchronized GiniCaptureBox getBox()
Link copied to clipboard
Link copied to clipboard
public synchronized String getEntity()
Link copied to clipboard
public String getName()
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 abstract void writeToParcel(Parcel p, int p1)
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