Class IVA_ALPHANUM

All Implemented Interfaces:
Configurable, ISOValidator
Direct Known Subclasses:
IVA_ALPHANUMNOBLANK, IVA_ALPHANUMNOZERO

public class IVA_ALPHANUM extends ISOFieldValidator
Validator for ASCII alphanumeric fields.

Title: jPOS

Description: Java Framework for Financial Systems

Copyright: Copyright (c) 2000 jPOS.org. All rights reserved.

Company: www.jPOS.org

  • Constructor Details

    • IVA_ALPHANUM

      public IVA_ALPHANUM()
      Default constructor.
    • IVA_ALPHANUM

      public IVA_ALPHANUM(String Description)
      Constructs a validator using only a description.
      Parameters:
      Description - human-readable field description
    • IVA_ALPHANUM

      public IVA_ALPHANUM(int minLen, int maxLen, String Description)
      Constructs a validator with explicit length bounds.
      Parameters:
      minLen - minimum acceptable length
      maxLen - maximum acceptable length
      Description - human-readable field description
    • IVA_ALPHANUM

      public IVA_ALPHANUM(int maxLen, String Description)
      Constructs a validator with a maximum length.
      Parameters:
      maxLen - maximum acceptable length
      Description - human-readable field description
    • IVA_ALPHANUM

      public IVA_ALPHANUM(boolean breakOnError, String Description)
      Constructs a validator with a custom break-on-error flag.
      Parameters:
      breakOnError - if true, validation throws on the first error
      Description - human-readable field description
    • IVA_ALPHANUM

      public IVA_ALPHANUM(boolean breakOnError, int maxLen, String Description)
      Constructs a validator with a custom break-on-error flag and a maximum length.
      Parameters:
      breakOnError - if true, validation throws on the first error
      maxLen - maximum acceptable length
      Description - human-readable field description
    • IVA_ALPHANUM

      public IVA_ALPHANUM(boolean breakOnError, int minLen, int maxLen, String Description)
      Constructs a validator with a custom break-on-error flag and explicit length bounds.
      Parameters:
      breakOnError - if true, validation throws on the first error
      minLen - minimum acceptable length
      maxLen - maximum acceptable length
      Description - human-readable field description
  • Method Details