jp.develop.common.util.amf
Class AmfObject

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<String,Object>
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
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.
 
Method Summary
 String getClassName()
          Get class name of AMF.
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

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.

Method Detail

getClassName

public String getClassName()
Get class name of AMF.

Returns:
AMF's class name of this instance.