public class GICCSubFieldPackager extends GenericPackager implements ISOSubFieldPackager, GenericPackagerParams
GenericPackager.GenericContentHandler, GenericPackager.GenericEntityResolver
fld, headerLength, logFieldName, logger, realm, thirdBitmapField
Constructor and Description |
---|
GICCSubFieldPackager()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
emitBitMap()
Always return false
|
int |
getFieldNumber()
Get current composite field number
|
byte[] |
pack(ISOComponent c)
pack method that works in conjunction with
ISOBasePackager.unpack(ISOComponent, byte[]) . |
void |
setGenericPackagerParams(org.xml.sax.Attributes atts) |
int |
unpack(ISOComponent m,
byte[] b) |
getBitMapfieldPackager, getDescription, getFirstField, getMaxValidField, readFile, readFile, setConfiguration, setLogger
createISOMsg, fieldUnpackLogger, getFieldDescription, getFieldPackager, getHeaderLength, getLogger, getRealm, getThirdBitmapField, setFieldPackager, setFieldPackager, setHeaderLength, setThirdBitmapField, unpack
public GICCSubFieldPackager() throws ISOException
ISOException
protected boolean emitBitMap()
emitBitMap
in class GenericPackager
public int getFieldNumber()
ISOSubFieldPackager
getFieldNumber
in interface ISOSubFieldPackager
public void setGenericPackagerParams(org.xml.sax.Attributes atts)
setGenericPackagerParams
in interface GenericPackagerParams
setGenericPackagerParams
in class GenericPackager
public byte[] pack(ISOComponent c) throws ISOException
ISOBasePackager
ISOBasePackager.unpack(ISOComponent, byte[])
.
Handles a tertiary bitmap possibly appearing in Data Element thirdBitmapField
.
pack
in interface ISOPackager
pack
in class ISOBasePackager
c
- the Component to packISOException
- on errorpublic int unpack(ISOComponent m, byte[] b) throws ISOException
unpack
in interface ISOPackager
unpack
in class ISOBasePackager
m
- the Container of this messageb
- ISO message imageISOException
- on error