|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.actf.model.flash.as.ASObject
public class ASObject
A wrapper class for ActionScript Object class. ActionScript
Object instance is a map from String (called
key) to Object (called value), which is written as a literal
like {id:123, mes:'Hello'}. The value for a given key is
obtained by get(java.lang.String) method. For the example above,
get("id")==123 and get("mes")=="Hello" holds.
ASObject instance cannot be created by its constructor. The instance is
internally created by ASDeserializer.deserialize() method.
ASDeserializer| Method Summary | |
|---|---|
Object |
get(String prop)
Gets the value for a given key. |
Set<String> |
getKeys()
Gets the set of keys of the instance. |
String |
toString()
Gets the ActionScript style String representation of the
instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Object get(String prop)
prop - Name of a key to get value.
public Set<String> getKeys()
Set of the keys.public String toString()
String representation of the
instance.
toString in class Object{id:123,mes:'Hello',}. Note that a comma appears
after the last key-value pair.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||