Enum CodeScanner.ReaderType
- java.lang.Object
-
- java.lang.Enum<CodeScanner.ReaderType>
-
- org.primefaces.extensions.component.codescanner.CodeScanner.ReaderType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CodeScanner.ReaderType>
- Enclosing class:
- CodeScanner
public static enum CodeScanner.ReaderType extends java.lang.Enum<CodeScanner.ReaderType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CodeScanner.ReaderTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CodeScanner.ReaderType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
multi
public static final CodeScanner.ReaderType multi
-
bar
public static final CodeScanner.ReaderType bar
-
qr
public static final CodeScanner.ReaderType qr
-
-
Method Detail
-
values
public static CodeScanner.ReaderType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CodeScanner.ReaderType c : CodeScanner.ReaderType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CodeScanner.ReaderType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-