jp.develop.common.util.amf
Class AmfObject
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,Object>
jp.develop.common.util.amf.AmfObject
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,Object>
public class AmfObject
- extends LinkedHashMap<String,Object>
AMF Object.
This class is used as default class for object decoding.
This is same as Map, except having class name.
(The class name is used at AMF encoding.)
- Author:
- Waki Takeya
- See Also:
- Serialized Form
Constructor Summary |
AmfObject()
Constructs a instance. |
AmfObject(String className)
Constructs a instance with specified class name. |
AmfObject(String className,
int initialCapacity)
Constructs a instance with specified class name and initial size. |
Methods inherited from interface java.util.Map |
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
AmfObject
public AmfObject(String className,
int initialCapacity)
- Constructs a instance with specified class name and initial size.
- Parameters:
className
- AMF's class name.initialCapacity
- Initial capacity.
AmfObject
public AmfObject(String className)
- Constructs a instance with specified class name.
- Parameters:
className
- AMF's class name.
AmfObject
public AmfObject()
- Constructs a instance.
getClassName
public String getClassName()
- Get class name of AMF.
- Returns:
- AMF's class name of this instance.