|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ObjectEncoding>
org.spicefactory.cinnamon.io.mapping.ObjectEncoding
public enum ObjectEncoding
Enumeration for the type of object encoding. The encoding is determined by the type of class declaration for the ActionScript 3 class.
| Enum Constant Summary | |
|---|---|
DYNAMIC
Encoding used for dynamic ActionScript classes. |
|
EXTERNALIZABLE
Encoding used for ActionScript classes that implement flash.utils.IExternalizable. |
|
SEALED
Encoding used for sealed ActionScript classes. |
|
| Method Summary | |
|---|---|
static ObjectEncoding |
fromByteCode(byte code)
Returns the enum value for the specified type code byte. |
byte |
getCode()
Returns the type code for this encoding as a byte value. |
static ObjectEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ObjectEncoding[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| 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 |
| Enum Constant Detail |
|---|
public static final ObjectEncoding SEALED
public static final ObjectEncoding EXTERNALIZABLE
flash.utils.IExternalizable.
public static final ObjectEncoding DYNAMIC
| Method Detail |
|---|
public static final ObjectEncoding[] values()
for(ObjectEncoding c : ObjectEncoding.values())
System.out.println(c);
public static ObjectEncoding valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic byte getCode()
public static ObjectEncoding fromByteCode(byte code)
code - the type code byte
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||