org.apache.synapse.util
Class SimpleMapImpl

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by org.apache.synapse.util.SimpleMapImpl
All Implemented Interfaces:
Serializable, Cloneable, Map, SimpleMap

public class SimpleMapImpl
extends HashMap
implements SimpleMap

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
SimpleMapImpl()
           
SimpleMapImpl(OMElement el)
           
 
Method Summary
 Object get(String name)
           
 boolean getBoolean(String name)
           
 byte getByte(String name)
           
 byte[] getBytes(String name)
           
 char getChar(String name)
           
 double getDouble(String name)
           
 float getFloat(String name)
           
 int getInt(String name)
           
 long getLong(String name)
           
 OMElement getOMElement()
           
 OMElement getOMElement(OMFactory fac)
           
 short getShort(String name)
           
 String getString(String name)
           
 void put(String name, Object value)
           
 void putBoolean(String name, boolean b)
           
 void putByte(String name, byte b)
           
 void putBytes(String name, byte[] bytes)
           
 void putChar(String name, char c)
           
 void putDouble(String name, double d)
           
 void putFloat(String name, float fl)
           
 void putInt(String name, int i)
           
 void putLong(String name, long l)
           
 void putShort(String name, short s)
           
 void putString(String name, String value)
           
 
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
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

SimpleMapImpl

public SimpleMapImpl()

SimpleMapImpl

public SimpleMapImpl(OMElement el)
Method Detail

get

public Object get(String name)
Specified by:
get in interface SimpleMap

getBoolean

public boolean getBoolean(String name)
Specified by:
getBoolean in interface SimpleMap

getByte

public byte getByte(String name)
Specified by:
getByte in interface SimpleMap

getBytes

public byte[] getBytes(String name)
Specified by:
getBytes in interface SimpleMap

getChar

public char getChar(String name)
Specified by:
getChar in interface SimpleMap

getDouble

public double getDouble(String name)
Specified by:
getDouble in interface SimpleMap

getFloat

public float getFloat(String name)
Specified by:
getFloat in interface SimpleMap

getInt

public int getInt(String name)
Specified by:
getInt in interface SimpleMap

getLong

public long getLong(String name)
Specified by:
getLong in interface SimpleMap

getShort

public short getShort(String name)
Specified by:
getShort in interface SimpleMap

getString

public String getString(String name)
Specified by:
getString in interface SimpleMap

put

public void put(String name,
                Object value)
Specified by:
put in interface SimpleMap

putBoolean

public void putBoolean(String name,
                       boolean b)
Specified by:
putBoolean in interface SimpleMap

putByte

public void putByte(String name,
                    byte b)
Specified by:
putByte in interface SimpleMap

putBytes

public void putBytes(String name,
                     byte[] bytes)
Specified by:
putBytes in interface SimpleMap

putChar

public void putChar(String name,
                    char c)
Specified by:
putChar in interface SimpleMap

putDouble

public void putDouble(String name,
                      double d)
Specified by:
putDouble in interface SimpleMap

putFloat

public void putFloat(String name,
                     float fl)
Specified by:
putFloat in interface SimpleMap

putInt

public void putInt(String name,
                   int i)
Specified by:
putInt in interface SimpleMap

putLong

public void putLong(String name,
                    long l)
Specified by:
putLong in interface SimpleMap

putShort

public void putShort(String name,
                     short s)
Specified by:
putShort in interface SimpleMap

putString

public void putString(String name,
                      String value)
Specified by:
putString in interface SimpleMap

getOMElement

public OMElement getOMElement()

getOMElement

public OMElement getOMElement(OMFactory fac)


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.