Kofax Mobile SDK API Reference
Public Member Functions | List of all members
Field< T extends Serializable > Class Template Reference
Inheritance diagram for Field< T extends Serializable >:
DataField ImageField

Public Member Functions

 Field (String name, T object, double confidence, FieldLocation location)
 
String getName ()
 
double getConfidence ()
 
getObject ()
 
FieldLocation getLocation ()
 
Field< T > clone ()
 
String toString ()
 
boolean equals (Object o)
 
int hashCode ()
 

Constructor & Destructor Documentation

Field ( String  name,
object,
double  confidence,
FieldLocation  location 
)

Member Function Documentation

Field<T> clone ( )
boolean equals ( Object  o)
double getConfidence ( )

Confidence is based on whether this field object (getObject()) has been verified. Verified objects receive a confidence value of 1 and should be considered a sane value that may be parsed into the desired object type (such as parsing a date); whereas fields that fail verification will receive a confidence of 0, whose object value may not be parsable as the desired type.

If this field did not pass through validation, confidence values may be any value returned by the extraction engine, including negative values.

FieldLocation getLocation ( )
Returns
The location of the field
String getName ( )
Returns
The name of the field
T getObject ( )
Returns
The value of the field
int hashCode ( )
String toString ( )

The documentation for this class was generated from the following file:
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.