public class Document
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Document.FileFormat
Document data file formats.
|
| Modifier and Type | Method and Description |
|---|---|
Field |
getField(FieldReference fieldCode)
Returns a
Field of the Document. |
Field |
getField(FieldSource source,
FieldId id)
Returns a
Field of the Document. |
Field |
getField(FieldSource source,
FieldId id,
int index)
Returns a
Field of the Document. |
java.util.ArrayList<FieldCompare> |
getFieldCompareList()
Returns the results of field value comparisons.
|
java.util.ArrayList<FieldReference> |
getFields()
Returns a list of
FieldReferences from the Document. |
java.util.ArrayList<FieldReference> |
getFields(EngineTask filter)
Returns a list of
FieldReferences from the Document. |
Document |
getPart(int index)
Returns a simple document data of a "
Root Document". |
Status |
getStatus()
Returns the overall
Status of the document. |
static Document |
merge(Document one,
Document other)
Generates a summary
Document. |
BinData |
save(Document.FileFormat fileFormat)
Saves the document to the memory in a specific
file format.
|
Variant |
toVariant()
Returns the internal variant data to access rarely requested information.
|
public Variant toVariant() throws General
Generalpublic java.util.ArrayList<FieldReference> getFields() throws General
FieldReferences from the Document.FieldReferences.Generalpublic java.util.ArrayList<FieldReference> getFields(EngineTask filter) throws General
FieldReferences from the Document.filter - Filter for the list.FieldReferences.Generalpublic Document getPart(int index) throws General
Root Document". It
represents the result of one analyzer method called for the document
before. The Engine.getRootDocument() method returns a so called
Root Document that contains the results of all methods called for
the current document.index - The ordinal number of the document part.Generalpublic Field getField(FieldSource source, FieldId id) throws General
Field of the Document.source - Id of the FieldSource.id - FieldId.Field data.Generalpublic Field getField(FieldSource source, FieldId id, int index) throws General
Field of the Document.source - Id of the FieldSource.id - FieldId.index - Index of the fields having the same Ids.Field data.Generalpublic Field getField(FieldReference fieldCode) throws General
Field of the Document.fieldCode - A FieldReference returned by the
getFields(Pr22.Task.EngineTask) method.Field data.Generalpublic BinData save(Document.FileFormat fileFormat) throws General
Root Documents"
returned by the Engine.getRootDocument() method can be loaded
back to the system.fileFormat - The file format.Generalpublic static Document merge(Document one, Document other) throws General
Document.
Currently, only the comparison of passport VIZ photo and RFID photo is
supported.one - A Document.other - Other Document.Document.Generalpublic java.util.ArrayList<FieldCompare> getFieldCompareList() throws General
GeneralARH Passport Reader v 2.2.0.17 / 2017 July 19 14:58