com.google.caja.lexer
Enum NumberRecognizer.State
java.lang.Object
java.lang.Enum<NumberRecognizer.State>
com.google.caja.lexer.NumberRecognizer.State
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<NumberRecognizer.State>
- Enclosing class:
- NumberRecognizer
static enum NumberRecognizer.State
- extends java.lang.Enum<NumberRecognizer.State>
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
START
public static final NumberRecognizer.State START
ZERO
public static final NumberRecognizer.State ZERO
DOT
public static final NumberRecognizer.State DOT
INTEGER
public static final NumberRecognizer.State INTEGER
INTEGER_DOT
public static final NumberRecognizer.State INTEGER_DOT
OCTAL
public static final NumberRecognizer.State OCTAL
HEX_PRE
public static final NumberRecognizer.State HEX_PRE
HEX
public static final NumberRecognizer.State HEX
FRACTION
public static final NumberRecognizer.State FRACTION
EXP_PRE
public static final NumberRecognizer.State EXP_PRE
EXP_SIGN
public static final NumberRecognizer.State EXP_SIGN
EXPONENT
public static final NumberRecognizer.State EXPONENT
WORD
public static final NumberRecognizer.State WORD
values
public static final NumberRecognizer.State[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(NumberRecognizer.State c : NumberRecognizer.State.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static NumberRecognizer.State 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 name
Copyright (C) 2008 Google Inc.
Licensed under the Apache License, Version 2.0