Package com.itextpdf.pdf2data.result
Class RecognitionResult
java.lang.Object
com.itextpdf.pdf2data.result.RecognitionResult
Class which represents recognition result.
-
Constructor Summary
ConstructorDescriptionRecognitionResult
(String resultSchemaVersion, SortedMap<String, DataFieldResult> dataFieldResults) Creates an instance of recognition result. -
Method Summary
Modifier and TypeMethodDescriptionClones this instance without metadata entries in results.boolean
Get data field results map.Get result schema version.int
hashCode()
-
Constructor Details
-
RecognitionResult
public RecognitionResult(String resultSchemaVersion, SortedMap<String, DataFieldResult> dataFieldResults) Creates an instance of recognition result.- Parameters:
-
resultSchemaVersion
- recognition result schema version. Mainly used for deserialization of the result. -
dataFieldResults
- map of data field results
-
-
Method Details
-
getResultSchemaVersion
Get result schema version.- Returns:
- result schema version
-
getDataFieldResults
Get data field results map.- Returns:
- data field results map
-
cloneWithoutMeta
Clones this instance without metadata entries in results.- Returns:
- clone of the current result without metadata
-
equals
-
hashCode
public int hashCode()
-