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, msgVldfld, 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, setMsgValidatorcreateISOMsg, fieldUnpackLogger, getBitMapfieldPackager, getDescription, getFieldDescription, getFieldPackager, getFirstField, getHeaderLength, getLogger, getMaxValidField, getRealm, getThirdBitmapField, setFieldPackager, setFieldPackager, setHeaderLength, setLogger, setThirdBitmapField, unpackpublic byte[] pack(ISOComponent c) throws ISOException
ISOBasePackagerISOBasePackager.unpack(ISOComponent, byte[]).
Handles a tertiary bitmap possibly appearing in Data Element thirdBitmapField.
pack in interface ISOPackagerpack in class ISOBasePackagerc - the Component to packISOException - on errorpublic int unpack(ISOComponent m, byte[] b) throws ISOException
unpack in interface ISOPackagerunpack in class ISOBasePackagerm - the Container of this messageb - ISO message imageISOException - on errorprotected boolean emitBitMap()
emitBitMap in class ISOBasePackagerpublic ISOComponent validate(ISOComponent c) throws ISOException
ISOValidatorvalidate in interface ISOValidatorvalidate in class ISOBaseValidatingPackagerISOException - if break-on-error is assummed and there are
some errors.