Class IVA_ALPHANUMNOBLANK
java.lang.Object
org.jpos.iso.ISOFieldValidator
org.jpos.iso.IVA_ALPHANUM
org.jpos.iso.IVA_ALPHANUMNOBLANK
- All Implemented Interfaces:
Configurable, ISOValidator
Validator for ASCII alphanumeric 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 ISOFieldValidator
breakOnError, cfg, description, fieldId, maxLen, minLen -
Constructor Summary
ConstructorsConstructorDescriptionIVA_ALPHANUMNOBLANK(boolean breakOnError, int minLen, int maxLen, String Description) IVA_ALPHANUMNOBLANK(boolean breakOnError, int maxLen, String Description) IVA_ALPHANUMNOBLANK(boolean breakOnError, String Description) IVA_ALPHANUMNOBLANK(int minLen, int maxLen, String Description) IVA_ALPHANUMNOBLANK(int maxLen, String Description) IVA_ALPHANUMNOBLANK(String Description) -
Method Summary
Modifier and TypeMethodDescriptionValidate that component is not blank-filled.Methods inherited from class ISOFieldValidator
breakOnError, getDescription, getFieldId, getRejCode, setBreakOnError, setConfiguration, setDescription, setFieldId, setMaxLength, setMinLength
-
Constructor Details
-
IVA_ALPHANUMNOBLANK
public IVA_ALPHANUMNOBLANK() -
IVA_ALPHANUMNOBLANK
-
IVA_ALPHANUMNOBLANK
-
IVA_ALPHANUMNOBLANK
-
IVA_ALPHANUMNOBLANK
-
IVA_ALPHANUMNOBLANK
-
IVA_ALPHANUMNOBLANK
-
-
Method Details
-
validate
Validate that component is not blank-filled.- Specified by:
validatein interfaceISOValidator- Overrides:
validatein classIVA_ALPHANUM- 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:
-