Class Mod11XISBN10CheckDigit
java.lang.Object
org.apache.commons.validator.routines.checkdigit.ModulusCheckDigit
org.apache.commons.validator.routines.checkdigit.Modulus11iWeightCheckDigit
org.apache.commons.validator.routines.checkdigit.Modulus11XCheckDigit
org.apache.commons.validator.routines.checkdigit.Mod11XISBN10CheckDigit
- All Implemented Interfaces:
Serializable,CheckDigit
Deprecated.
Modulus 11 ISBN-10 Check Digit calculation/validation.
ISBN-10 Numbers are a numeric code except for the last (check) digit which can have a value of "X".
Check digit calculation is based on modulus 11 with digits being weighted based by their position, from right to left with the first digit being weighted 1, the second 2 and so on. If the check digit is calculated as "10" it is converted to "X".
N.B. From 1st January 2007 the book industry will start to use a new 13 digit
ISBN number (rather than this 10 digit ISBN number) which uses the EAN-13 / UPC
(see EAN13CheckDigit) standard.
For further information see:
- Since:
- 1.4
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CheckDigitDeprecated.Singleton ISBN-10 Check Digit instance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CheckDigitDeprecated.Gets the singleton instance of this class.Methods inherited from class org.apache.commons.validator.routines.checkdigit.Modulus11XCheckDigit
toCheckDigit, toIntMethods inherited from class org.apache.commons.validator.routines.checkdigit.Modulus11iWeightCheckDigit
isValid, weightedValueMethods inherited from class org.apache.commons.validator.routines.checkdigit.ModulusCheckDigit
calculate, calculateModulus, getCheckdigitLength, getModulus, sumDigits
-
Field Details
-
INSTANCE
Deprecated.Singleton ISBN-10 Check Digit instance
-
-
Constructor Details
-
Mod11XISBN10CheckDigit
public Mod11XISBN10CheckDigit()Deprecated.
-
-
Method Details
-
getInstance
Deprecated.Gets the singleton instance of this class.- Returns:
- A singleton instance of the class.
-