org.opennms.web.map
Class JSTLConstants

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Object>
          extended by org.opennms.web.map.JSTLConstants
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>
Direct Known Subclasses:
MapsConstants

public class JSTLConstants
extends HashMap<String,Object>

Class to reveal java constants to JSTL Expression Language Uses reflection to scan the declared fields of a Constants class Adds these fields to the Map. Map is unmodifiable after initialization.

Author:
Antonio Russo, DJ Gregor
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
JSTLConstants()
           
 
Method Summary
 void clear()
           
 Object put(String key, Object value)
           
 void putAll(Map<? extends String,? extends Object> m)
           
 Object remove(String key)
           
 
Methods inherited from class java.util.HashMap
clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, 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

JSTLConstants

public JSTLConstants()
Method Detail

clear

public void clear()
Specified by:
clear in interface Map<String,Object>
Overrides:
clear in class HashMap<String,Object>

put

public Object put(String key,
                  Object value)
Specified by:
put in interface Map<String,Object>
Overrides:
put in class HashMap<String,Object>

putAll

public void putAll(Map<? extends String,? extends Object> m)
Specified by:
putAll in interface Map<String,Object>
Overrides:
putAll in class HashMap<String,Object>

remove

public Object remove(String key)


Copyright © 2009. All Rights Reserved.