Package org.jpos.iso
Class IVA_ALPHANUMNOZERO_NOBLANK
- java.lang.Object
-
- org.jpos.iso.ISOFieldValidator
-
- org.jpos.iso.IVA_ALPHANUM
-
- org.jpos.iso.IVA_ALPHANUMNOZERO
-
- org.jpos.iso.IVA_ALPHANUMNOZERO_NOBLANK
-
- All Implemented Interfaces:
Configurable
,ISOValidator
public class IVA_ALPHANUMNOZERO_NOBLANK extends IVA_ALPHANUMNOZERO
Validator for ASCII alphanum no-zero no-blank filled fields.Title: jPOS
Description: Java Framework for Financial Systems
Copyright: Copyright (c) 2000 jPOS.org. All rights reserved.
Company: www.jPOS.org
-
-
Field Summary
-
Fields inherited from class org.jpos.iso.ISOFieldValidator
breakOnError, cfg, description, fieldId, maxLen, minLen
-
-
Constructor Summary
Constructors Constructor Description IVA_ALPHANUMNOZERO_NOBLANK()
IVA_ALPHANUMNOZERO_NOBLANK(boolean breakOnError, int minLen, int maxLen, java.lang.String Description)
IVA_ALPHANUMNOZERO_NOBLANK(boolean breakOnError, int maxLen, java.lang.String Description)
IVA_ALPHANUMNOZERO_NOBLANK(boolean breakOnError, java.lang.String Description)
IVA_ALPHANUMNOZERO_NOBLANK(int minLen, int maxLen, java.lang.String Description)
IVA_ALPHANUMNOZERO_NOBLANK(int maxLen, java.lang.String Description)
IVA_ALPHANUMNOZERO_NOBLANK(java.lang.String Description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ISOComponent
validate(ISOComponent f)
Validate that the component is not blank-filled.-
Methods inherited from class org.jpos.iso.ISOFieldValidator
breakOnError, getDescription, getFieldId, getRejCode, setBreakOnError, setConfiguration, setDescription, setFieldId, setMaxLength, setMinLength
-
-
-
-
Constructor Detail
-
IVA_ALPHANUMNOZERO_NOBLANK
public IVA_ALPHANUMNOZERO_NOBLANK()
-
IVA_ALPHANUMNOZERO_NOBLANK
public IVA_ALPHANUMNOZERO_NOBLANK(java.lang.String Description)
-
IVA_ALPHANUMNOZERO_NOBLANK
public IVA_ALPHANUMNOZERO_NOBLANK(int minLen, int maxLen, java.lang.String Description)
-
IVA_ALPHANUMNOZERO_NOBLANK
public IVA_ALPHANUMNOZERO_NOBLANK(int maxLen, java.lang.String Description)
-
IVA_ALPHANUMNOZERO_NOBLANK
public IVA_ALPHANUMNOZERO_NOBLANK(boolean breakOnError, java.lang.String Description)
-
IVA_ALPHANUMNOZERO_NOBLANK
public IVA_ALPHANUMNOZERO_NOBLANK(boolean breakOnError, int maxLen, java.lang.String Description)
-
IVA_ALPHANUMNOZERO_NOBLANK
public IVA_ALPHANUMNOZERO_NOBLANK(boolean breakOnError, int minLen, int maxLen, java.lang.String Description)
-
-
Method Detail
-
validate
public ISOComponent validate(ISOComponent f) throws ISOException
Validate that the component is not blank-filled.- Specified by:
validate
in interfaceISOValidator
- Overrides:
validate
in classIVA_ALPHANUMNOZERO
- Parameters:
f
- ISOField component- Returns:
- an ISOComponent result of validation process. If there area any validation error, then an ISOV component replace original c and it's returned in case of break-on-error condition is false. If break-on-error is false, then an ISOVException containing the ISOV component is raised.
- Throws:
ISOException
- if there are some errors during validation. It contains an ISOV component inside referencing the errors.- See Also:
method
-
-