|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EntityResolver.Status>
com.google.streamhtmlparser.util.EntityResolver.Status
public static enum EntityResolver.Status
Returned in processChar
method.
NOT_STARTED
indicates we are still processing
trailing characters before the start of an entity.
The caller may want to save the characters it provided us.
IN_PROGRESS
indicates we are currently processing
characters part of an entity.
COMPLETED
indicates we have finished processing
an entity. The caller can then invoke getEntity
then re-set the object for future re-use.
Enum Constant Summary | |
---|---|
COMPLETED
|
|
IN_PROGRESS
|
|
NOT_STARTED
|
Method Summary | |
---|---|
String |
toString()
Returns a brief description of the Status for
debugging purposes. |
static EntityResolver.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EntityResolver.Status[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EntityResolver.Status NOT_STARTED
public static final EntityResolver.Status IN_PROGRESS
public static final EntityResolver.Status COMPLETED
Method Detail |
---|
public static EntityResolver.Status[] values()
for (EntityResolver.Status c : EntityResolver.Status.values()) System.out.println(c);
public static EntityResolver.Status valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
Status
for
debugging purposes. The format of the returned String
is not fully specified nor guaranteed to remain the same.
toString
in class Enum<EntityResolver.Status>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |