public static enum Chunk.Type extends java.lang.Enum<Chunk.Type>
| Enum Constant and Description |
|---|
NULL |
STRING_POOL |
TABLE |
TABLE_LIBRARY |
TABLE_PACKAGE |
TABLE_TYPE |
TABLE_TYPE_SPEC |
XML |
XML_CDATA |
XML_END_ELEMENT |
XML_END_NAMESPACE |
XML_RESOURCE_MAP |
XML_START_ELEMENT |
XML_START_NAMESPACE |
| Modifier and Type | Method and Description |
|---|---|
short |
code() |
static Chunk.Type |
fromCode(short code) |
static Chunk.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Chunk.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Chunk.Type NULL
public static final Chunk.Type STRING_POOL
public static final Chunk.Type TABLE
public static final Chunk.Type XML
public static final Chunk.Type XML_START_NAMESPACE
public static final Chunk.Type XML_END_NAMESPACE
public static final Chunk.Type XML_START_ELEMENT
public static final Chunk.Type XML_END_ELEMENT
public static final Chunk.Type XML_CDATA
public static final Chunk.Type XML_RESOURCE_MAP
public static final Chunk.Type TABLE_PACKAGE
public static final Chunk.Type TABLE_TYPE
public static final Chunk.Type TABLE_TYPE_SPEC
public static final Chunk.Type TABLE_LIBRARY
public static Chunk.Type[] values()
for (Chunk.Type c : Chunk.Type.values()) System.out.println(c);
public static Chunk.Type 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 short code()
public static Chunk.Type fromCode(short code)