GiniVisionSpecificExtraction

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.

public class GiniVisionSpecificExtraction extends GiniVisionExtraction

Constructors

GiniVisionSpecificExtraction
Link copied to clipboard

Value object for a specific extraction from the Gini API.

Functions

describeContents
Link copied to clipboard
abstract int describeContents()
int describeContents()
getBox
Link copied to clipboard

bounding box containing the position of the extraction value on the document

synchronized GiniVisionBox getBox()
getCandidates
Link copied to clipboard

a list containing other candidates for this specific extraction

List<GiniVisionExtractiongetCandidates()
getEntity
Link copied to clipboard

key (primary identification) of an entity type (e.g. banknumber). See Extraction Entities for a full list

synchronized String getEntity()
getName
Link copied to clipboard

the specific extraction's name. See Available Specific Extractions for a full list

String getName()
getValue
Link copied to clipboard

normalized textual representation of the text/information provided by the extraction value (e.g. bank number without spaces between the digits)

synchronized String getValue()
isDirty
Link copied to clipboard

{@code true} if the value or the bounding box has been changed

synchronized boolean isDirty()
setBox
Link copied to clipboard

Set a new bounding box. Marks the extraction as dirty.

synchronized void setBox(GiniVisionBox newBox)
setIsDirty
Link copied to clipboard

pass {@code true} to mark the extraction as dirty

synchronized void setIsDirty(boolean isDirty)
setValue
Link copied to clipboard

Set a new value for this extraction. Marks the extraction as dirty.

synchronized void setValue(String newValue)
toString
Link copied to clipboard
String toString()
writeToParcel
Link copied to clipboard
abstract void writeToParcel(Parcel p, int p1)
void writeToParcel(Parcel dest, int flags)

Properties

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