Package io.anyline.nfc.Parser
Class DG1Parser
-
- All Implemented Interfaces:
public class DG1Parser
-
-
Field Summary
Fields Modifier and Type Field Description public String
mrz
public String
documentCode
public String
issuingStateCode
public String
documentNumber
public String
documentNumberCheckDigit
public String
gender
public String
givenNames
public String
surname
public String
nationalityCode
public String
dateOfBirth
public String
dateOfBirthCheckDigit
public String
dateOfExpiry
public String
dateOfExpiryCheckDigit
-
Method Summary
-
-
Constructor Detail
-
DG1Parser
DG1Parser(Array<byte> mrz)
-
-
Method Detail
-
getDocumentCode
String getDocumentCode()
-
setDocumentCode
void setDocumentCode(String documentCode)
-
getIssuingStateCode
String getIssuingStateCode()
-
setIssuingStateCode
void setIssuingStateCode(String issuingStateCode)
-
getDocumentNumber
String getDocumentNumber()
-
setDocumentNumber
void setDocumentNumber(String documentNumber)
-
getDocumentNumberCheckDigit
String getDocumentNumberCheckDigit()
-
setDocumentNumberCheckDigit
void setDocumentNumberCheckDigit(String documentNumberCheckDigit)
-
getGivenNames
String getGivenNames()
-
setGivenNames
void setGivenNames(String firstName)
-
getSurname
String getSurname()
-
setSurname
void setSurname(String surname)
-
getNationalityCode
String getNationalityCode()
-
setNationalityCode
void setNationalityCode(String nationalityCode)
-
getDateOfBirth
String getDateOfBirth()
-
setDateOfBirth
void setDateOfBirth(String dateOfBirth)
-
getDateOfBirthCheckDigit
String getDateOfBirthCheckDigit()
-
setDateOfBirthCheckDigit
void setDateOfBirthCheckDigit(String dateOfBirthCheckDigit)
-
getDateOfExpiry
String getDateOfExpiry()
-
setDateOfExpiry
void setDateOfExpiry(String dateOfExpiry)
-
getDateOfExpiryCheckDigit
String getDateOfExpiryCheckDigit()
-
setDateOfExpiryCheckDigit
void setDateOfExpiryCheckDigit(String dateOfExpiryCheckDigit)
-
isCorrect
boolean isCorrect()
Returns true if
- Returns:
boolean
-
clean
void clean()
-
-
-
-