public class CTCSubFieldPackager extends ISOBaseValidatingPackager
Title: jPOS
Description: Java Framework for Financial Systems
Copyright: Copyright (c) 2000 jPOS.org. All rights reserved.
Company: www.jPOS.org
fldVld, msgVld
fld, headerLength, logFieldName, logger, realm, thirdBitmapField
Constructor and Description |
---|
CTCSubFieldPackager() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
emitBitMap()
Always return false.
|
byte[] |
pack(ISOComponent c)
pack method that works in conjunction with
ISOBasePackager.unpack(ISOComponent, byte[]) . |
int |
unpack(ISOComponent m,
byte[] b) |
ISOComponent |
validate(ISOComponent c)
Validate an ISOComponent.
|
setFieldValidator, setMsgValidator
createISOMsg, fieldUnpackLogger, getBitMapfieldPackager, getDescription, getFieldDescription, getFieldPackager, getFirstField, getHeaderLength, getLogger, getMaxValidField, getRealm, getThirdBitmapField, setFieldPackager, setFieldPackager, setHeaderLength, setLogger, setThirdBitmapField, unpack
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 errorprotected boolean emitBitMap()
emitBitMap
in class ISOBasePackager
public ISOComponent validate(ISOComponent c) throws ISOException
ISOValidator
validate
in interface ISOValidator
validate
in class ISOBaseValidatingPackager
ISOException
- if break-on-error is assummed and there are
some errors.