com.aspose.barcode.barcoderecognition

Class ChecksumValidation

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.barcode.barcoderecognition.ChecksumValidation


  • public final class ChecksumValidation
    extends com.aspose.ms.System.Enum
    Enable checksum validation during recognition for 1D barcodes. Default is treated as Yes for symbologies which must contain checksum, as No where checksum only possible. Checksum never used: Codabar Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN Checksum always used: Rest symbologies
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.EnumMap, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int Default
      If checksum is required by the specification - it will be validated.
      static int Off
      Do not validate checksum.
      static int On
      Always validate checksum if possible.
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static java.lang.String getChecksumValidationName(int checksumValidation)
      Gets the string name of checksum validation value by int value
      static int getChecksumValidationValue(java.lang.String checksumValidation)
      Gets the int value of checksum validation value by string name
      • Methods inherited from class com.aspose.ms.System.Enum

        Clone, CloneTo, format, format, get_Value, getName, getName, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Default

        public static final int Default
        If checksum is required by the specification - it will be validated.
        See Also:
        Constant Field Values
    • Method Detail

      • getChecksumValidationName

        public static java.lang.String getChecksumValidationName(int checksumValidation)
        Gets the string name of checksum validation value by int value
        Parameters:
        checksumValidation - int value
        Returns:
        The string name
      • getChecksumValidationValue

        public static int getChecksumValidationValue(java.lang.String checksumValidation)
        Gets the int value of checksum validation value by string name
        Parameters:
        checksumValidation - string name
        Returns:
        The int value