org.jpos.iso.packager
Class CTCSubElementPackager
java.lang.Object
org.jpos.iso.ISOBasePackager
org.jpos.iso.packager.ISOBaseValidatingPackager
org.jpos.iso.packager.CTCSubElementPackager
- All Implemented Interfaces:
- ISOPackager, ISOValidator, LogSource
public class CTCSubElementPackager
- extends ISOBaseValidatingPackager
Test validatingPackager for subelements in field 48.
Title: jPOS
Description: Java Framework for Financial Systems
Copyright: Copyright (c) 2000 jPOS.org. All rights reserved.
Company: www.jPOS.org
- Version:
- 1.0
- Author:
- Jose Eduardo Leon
| Methods inherited from class org.jpos.iso.ISOBasePackager |
createISOMsg, getFieldDescription, getFieldPackager, getHeaderLength, getLogger, getRealm, setFieldPackager, setFieldPackager, setHeaderLength, setLogger, unpack |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CTCSubElementPackager
public CTCSubElementPackager()
pack
public byte[] pack(ISOComponent c)
throws ISOException
- Specified by:
pack in interface ISOPackager- Overrides:
pack in class ISOBasePackager
- Parameters:
c - the Component to pack
- Returns:
- Message image
- Throws:
ISOException
unpack
public int unpack(ISOComponent m,
byte[] b)
throws ISOException
- Specified by:
unpack in interface ISOPackager- Overrides:
unpack in class ISOBasePackager
- Parameters:
m - the Container of this messageb - ISO message image
- Returns:
- consumed bytes
- Throws:
ISOException
validate
public ISOComponent validate(ISOComponent c)
throws ISOException
- Description copied from interface:
ISOValidator
- Validate an ISOComponent.
- Specified by:
validate in interface ISOValidator- Overrides:
validate in class ISOBaseValidatingPackager
- Throws:
ISOException