org.granite.messaging.amf.io.util.instantiator
Class EnumInstantiator

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Object>
          extended by org.granite.messaging.amf.io.util.instantiator.AbstractInstantiator<Enum<?>>
              extended by org.granite.messaging.amf.io.util.instantiator.EnumInstantiator
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class EnumInstantiator
extends AbstractInstantiator<Enum<?>>

Author:
Igor SAZHNEV
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
EnumInstantiator(String type)
           
 
Method Summary
 List<String> getOrderedFieldNames()
           
 Enum<?> newInstance()
           
 
Methods inherited from class org.granite.messaging.amf.io.util.instantiator.AbstractInstantiator
addReferer, resolve
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

EnumInstantiator

public EnumInstantiator(String type)
Method Detail

getOrderedFieldNames

public List<String> getOrderedFieldNames()
Specified by:
getOrderedFieldNames in class AbstractInstantiator<Enum<?>>

newInstance

public Enum<?> newInstance()
Specified by:
newInstance in class AbstractInstantiator<Enum<?>>