Package org.jpos.iso

Class IVA_ALPHANUMNOZERO

    • Constructor Detail

      • IVA_ALPHANUMNOZERO

        public IVA_ALPHANUMNOZERO​(int minLen,
                                  int maxLen,
                                  java.lang.String Description)
      • IVA_ALPHANUMNOZERO

        public IVA_ALPHANUMNOZERO​(int maxLen,
                                  java.lang.String Description)
      • IVA_ALPHANUMNOZERO

        public IVA_ALPHANUMNOZERO​(boolean breakOnError,
                                  java.lang.String Description)
      • IVA_ALPHANUMNOZERO

        public IVA_ALPHANUMNOZERO​(boolean breakOnError,
                                  int maxLen,
                                  java.lang.String Description)
      • IVA_ALPHANUMNOZERO

        public IVA_ALPHANUMNOZERO​(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 zero-filled.
        Specified by:
        validate in interface ISOValidator
        Overrides:
        validate in class IVA_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:
        method