-
- All Implemented Interfaces:
-
android.os.Parcelable
public class GiniCaptureSpecificExtraction extends GiniCaptureExtraction
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.
-
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.Creator<GiniCaptureSpecificExtraction>CREATOR
-
Constructor Summary
Constructors Constructor Description GiniCaptureSpecificExtraction(String name, String value, String entity, GiniCaptureBox box, List<GiniCaptureExtraction> candidates)Value object for a specific extraction from the Gini API.
-
Method Summary
Modifier and Type Method Description intdescribeContents()voidwriteToParcel(Parcel dest, int flags)StringgetName()List<GiniCaptureExtraction>getCandidates()StringtoString()-
Methods inherited from class net.gini.android.capture.network.model.GiniCaptureExtraction
getBox, getEntity, getValue, isDirty, setBox, setIsDirty, setValue -
Methods inherited from class android.os.Parcelable
describeContents, writeToParcel -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
GiniCaptureSpecificExtraction
GiniCaptureSpecificExtraction(String name, String value, String entity, GiniCaptureBox box, List<GiniCaptureExtraction> candidates)
Value object for a specific extraction from the Gini API.- Parameters:
name- The specific extraction's name, e.g.value- normalized textual representation of the text/information provided by theextraction value (e.g.entity- key (primary identification) of an entity type (e.g.box- (optional) bounding box containing the position of the extraction value onthe document.candidates- A list containing other candidates for this specific extraction.
-
-
Method Detail
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
getCandidates
@NonNull() List<GiniCaptureExtraction> getCandidates()
-
-
-
-