Class ISBN10CheckDigit
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.ISBN10CheckDigit
- 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
ConstructorsConstructorDescriptionDeprecated.Constructs a modulus 11 Check Digit routine for ISBN-10. -
Method Summary
Methods inherited from class org.apache.commons.validator.routines.checkdigit.Modulus11XCheckDigit
getInstance, 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
-
ISBN10_CHECK_DIGIT
Deprecated.Singleton ISBN-10 Check Digit instance
-
-
Constructor Details
-
ISBN10CheckDigit
public ISBN10CheckDigit()Deprecated.Constructs a modulus 11 Check Digit routine for ISBN-10.
-