public class GenericSubFieldPackager extends GenericPackager implements ISOSubFieldPackager
GenericPackager.GenericContentHandler, GenericPackager.GenericEntityResolver
fld, headerLength, logFieldName, logger, realm, thirdBitmapField
Constructor and Description |
---|
GenericSubFieldPackager() |
Modifier and Type | Method and Description |
---|---|
int |
getFieldNumber()
Get current composite field number
|
byte[] |
pack(ISOComponent m)
Pack the subfield into a byte array
|
void |
setGenericPackagerParams(org.xml.sax.Attributes atts) |
int |
unpack(ISOComponent m,
byte[] b) |
emitBitMap, getBitMapfieldPackager, getDescription, getFirstField, getMaxValidField, readFile, readFile, setConfiguration, setLogger
createISOMsg, fieldUnpackLogger, getFieldDescription, getFieldPackager, getHeaderLength, getLogger, getRealm, getThirdBitmapField, setFieldPackager, setFieldPackager, setHeaderLength, setThirdBitmapField, unpack
public GenericSubFieldPackager() throws ISOException
ISOException
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 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 errorpublic byte[] pack(ISOComponent m) throws ISOException
pack
in interface ISOPackager
pack
in class ISOBasePackager
m
- the Component to packISOException
- on error