public enum BooklandISBNFormat extends java.lang.Enum<BooklandISBNFormat> implements IEnumType
Enum Constant and Description |
---|
ISBN10
The decoder reports Bookland data starting with 978 in traditional 10-digit format
with the special Bookland check digit for backward-compatibility.
|
ISBN13
The decoder reports Bookland data (starting with either 978 or 979) as EAN-13 in
13-digit format to meet the 2007 ISBN-13 protocol.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
java.lang.String |
toString() |
static BooklandISBNFormat |
valueOf(int code) |
static BooklandISBNFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BooklandISBNFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BooklandISBNFormat ISBN10
public static final BooklandISBNFormat ISBN13
public static BooklandISBNFormat[] values()
for (BooklandISBNFormat c : BooklandISBNFormat.values()) System.out.println(c);
public static BooklandISBNFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in interface IEnumType
toString
in class java.lang.Enum<BooklandISBNFormat>
public static BooklandISBNFormat valueOf(int code)