public final class USADriveIdCodetext extends java.lang.Object implements IComplexCodetext
Class for encoding and decoding the text embedded in the USA Driving License PDF417 code.
| Modifier and Type | Class and Description |
|---|---|
static class |
USADriveIdCodetext.MandatoryFields
Mandatory elements (fields) of the card
|
static class |
USADriveIdCodetext.OptionalFields
Optional elements (fields) of the card
|
static class |
USADriveIdCodetext.SubfileProperties
USA DL subfile properties, offset and length are set automatically.
|
| Constructor and Description |
|---|
USADriveIdCodetext()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAAMVAVersionNumber()
AAMVA Version Number 00-99
|
BaseEncodeType |
getBarcodeType()
Returns barcode type of USA DL (Pdf417)
|
java.lang.String |
getConstructedCodetext()
Construct codetext from USA DL data
|
java.lang.String |
getIssuerIdentificationNumber()
This number uniquely identifies
the issuing jurisdiction and can be obtained by contacting the ISO
Issuing Authority(AAMVA).
|
USADriveIdJurisdSubfile |
getJurisdictionSpecificSubfile()
Jurisdiction Specific Fields
|
java.lang.String |
getJurisdictionVersionNumber()
Jurisdiction Version Number 00-99
|
USADriveIdCodetext.MandatoryFields |
getMandatoryElements()
Mandatory elements (fields) of the card
|
int |
getNumberOfEntries()
Number 00-99 of subfiles
|
USADriveIdCodetext.OptionalFields |
getOptionalElements()
Optional elements (fields) of the card
|
java.util.List<USADriveIdCodetext.SubfileProperties> |
getSubfileDesignator()
Contains information about following subfiles, types, offsets and lengths.
|
void |
initFromString(java.lang.String constructedCodetext)
Initialize USA DL object from codetext
|
void |
saveToXml(java.io.OutputStream stream)
Saves to XML
|
void |
setAAMVAVersionNumber(java.lang.String value)
AAMVA Version Number 00-99
|
void |
setIssuerIdentificationNumber(java.lang.String value)
This number uniquely identifies
the issuing jurisdiction and can be obtained by contacting the ISO
Issuing Authority(AAMVA).
|
void |
setJurisdictionSpecificSubfile(USADriveIdJurisdSubfile value)
Jurisdiction Specific Fields
|
void |
setJurisdictionVersionNumber(java.lang.String value)
Jurisdiction Version Number 00-99
|
void |
setMandatoryElements(USADriveIdCodetext.MandatoryFields value)
Mandatory elements (fields) of the card
|
void |
setNumberOfEntries(int value)
Number 00-99 of subfiles
|
void |
setOptionalElements(USADriveIdCodetext.OptionalFields value)
Optional elements (fields) of the card
|
void |
setSubfileDesignator(java.util.List<USADriveIdCodetext.SubfileProperties> value)
Contains information about following subfiles, types, offsets and lengths.
|
public final java.lang.String getIssuerIdentificationNumber()
This number uniquely identifies the issuing jurisdiction and can be obtained by contacting the ISO Issuing Authority(AAMVA). The full 6-digit IIN should be encoded.
public final void setIssuerIdentificationNumber(java.lang.String value)
This number uniquely identifies the issuing jurisdiction and can be obtained by contacting the ISO Issuing Authority(AAMVA). The full 6-digit IIN should be encoded.
public final java.lang.String getAAMVAVersionNumber()
AAMVA Version Number 00-99
public final void setAAMVAVersionNumber(java.lang.String value)
AAMVA Version Number 00-99
public final java.lang.String getJurisdictionVersionNumber()
Jurisdiction Version Number 00-99
public final void setJurisdictionVersionNumber(java.lang.String value)
Jurisdiction Version Number 00-99
public final int getNumberOfEntries()
Number 00-99 of subfiles
public final void setNumberOfEntries(int value)
Number 00-99 of subfiles
public final java.util.List<USADriveIdCodetext.SubfileProperties> getSubfileDesignator()
Contains information about following subfiles, types, offsets and lengths. Important: set only type, offset and length will be set automatically.
public final void setSubfileDesignator(java.util.List<USADriveIdCodetext.SubfileProperties> value)
Contains information about following subfiles, types, offsets and lengths. Important: set only type, offset and length will be set automatically.
public final USADriveIdCodetext.MandatoryFields getMandatoryElements()
Mandatory elements (fields) of the card
public final void setMandatoryElements(USADriveIdCodetext.MandatoryFields value)
Mandatory elements (fields) of the card
public final USADriveIdCodetext.OptionalFields getOptionalElements()
Optional elements (fields) of the card
public final void setOptionalElements(USADriveIdCodetext.OptionalFields value)
Optional elements (fields) of the card
public final USADriveIdJurisdSubfile getJurisdictionSpecificSubfile()
Jurisdiction Specific Fields
public final void setJurisdictionSpecificSubfile(USADriveIdJurisdSubfile value)
Jurisdiction Specific Fields
public final java.lang.String getConstructedCodetext()
Construct codetext from USA DL data
getConstructedCodetext in interface IComplexCodetextpublic final void initFromString(java.lang.String constructedCodetext)
Initialize USA DL object from codetext
initFromString in interface IComplexCodetextconstructedCodetext - Constructed codetextpublic final BaseEncodeType getBarcodeType()
Returns barcode type of USA DL (Pdf417)
getBarcodeType in interface IComplexCodetextpublic final void saveToXml(java.io.OutputStream stream)
Saves to XML
stream - Stream to save