public class Base1SubFieldPackager extends ISOBasePackager
ISOPackager,
ISOBasePackager,
ISOComponentfld, headerLength, logFieldName, logger, realm, thirdBitmapField| Constructor and Description |
|---|
Base1SubFieldPackager() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
emitBitMap() |
protected ISOFieldPackager |
getBitMapfieldPackager() |
protected int |
getFirstField()
usually 2 for normal fields, 1 for bitmap-less or ANSI X9.2
|
byte[] |
pack(ISOComponent m)
Pack the subfield into a byte array
|
int |
unpack(ISOComponent m,
byte[] b)
Unpack a packed subfield into
its corresponding ISOComponent
|
createISOMsg, fieldUnpackLogger, getDescription, getFieldDescription, getFieldPackager, getHeaderLength, getLogger, getMaxValidField, getRealm, getThirdBitmapField, setFieldPackager, setFieldPackager, setHeaderLength, setLogger, setThirdBitmapField, unpackprotected boolean emitBitMap()
emitBitMap in class ISOBasePackagerprotected int getFirstField()
ISOBasePackagergetFirstField in class ISOBasePackagerprotected ISOFieldPackager getBitMapfieldPackager()
getBitMapfieldPackager in class ISOBasePackagerpublic int unpack(ISOComponent m, byte[] b) throws ISOException
unpack in interface ISOPackagerunpack in class ISOBasePackagerm - the Container of this messageb - ISO message imageISOException - on errorpublic byte[] pack(ISOComponent m) throws ISOException
pack in interface ISOPackagerpack in class ISOBasePackagerm - the Component to packISOException - on error