org.jpos.iso.packager
Class GenericValidatingPackager
java.lang.Object
org.jpos.iso.ISOBasePackager
org.jpos.iso.packager.GenericPackager
org.jpos.iso.packager.GenericValidatingPackager
- All Implemented Interfaces:
- Configurable, ReConfigurable, ISOPackager, ISOValidator, LogSource
public class GenericValidatingPackager
- extends GenericPackager
- implements ISOValidator
Generic Packager that configure validators too.
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, pack, setFieldPackager, setFieldPackager, setHeaderLength, unpack, unpack |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericValidatingPackager
public GenericValidatingPackager()
throws ISOException
- Throws:
ISOException
GenericValidatingPackager
public GenericValidatingPackager(java.lang.String fileName)
throws ISOException
- Throws:
ISOException
GenericValidatingPackager
public GenericValidatingPackager(java.io.InputStream stream)
throws ISOException
- Throws:
ISOException
readFile
public void readFile(java.lang.String filename)
throws ISOException
- It define GenericValidatorContentHandler like handler.
- Overrides:
readFile in class GenericPackager
- Parameters:
filename - The XML field description file
- Throws:
ISOException
setMsgValidator
public void setMsgValidator(ISOBaseValidator[] msgVlds)
setFieldValidator
public void setFieldValidator(ISOFieldValidator[] fvlds)
validate
public ISOComponent validate(ISOComponent m)
throws ISOException
- Description copied from interface:
ISOValidator
- Validate an ISOComponent.
- Specified by:
validate in interface ISOValidator
- Throws:
ISOException