public static enum EntityResolver.Status extends Enum<EntityResolver.Status>
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 and Description |
---|
COMPLETED |
IN_PROGRESS |
NOT_STARTED |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final EntityResolver.Status NOT_STARTED
public static final EntityResolver.Status IN_PROGRESS
public static final EntityResolver.Status COMPLETED
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 nameNullPointerException
- 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>
Copyright © 2010-2012 Google. All Rights Reserved.