jPOS 1.6.1 API Documentation

org.jpos.iso.packager
Class CTCSubElementPackager

java.lang.Object
  extended by org.jpos.iso.ISOBasePackager
      extended by org.jpos.iso.packager.ISOBaseValidatingPackager
          extended by 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

Constructor Summary
CTCSubElementPackager()
           
 
Method Summary
 byte[] pack(ISOComponent c)
           
 int unpack(ISOComponent m, byte[] b)
           
 ISOComponent validate(ISOComponent c)
          Validate an ISOComponent.
 
Methods inherited from class org.jpos.iso.packager.ISOBaseValidatingPackager
setFieldValidator, setMsgValidator
 
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
 

Constructor Detail

CTCSubElementPackager

public CTCSubElementPackager()
Method Detail

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 message
b - 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

jPOS.org