com.atlassian.jira.issue.transport.impl
Class FieldValuesHolderImpl

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Object>
          extended by com.atlassian.jira.issue.transport.impl.FieldValuesHolderImpl
All Implemented Interfaces:
FieldValuesHolder, Serializable, Cloneable, Map<String,Object>

public class FieldValuesHolderImpl
extends HashMap<String,Object>
implements FieldValuesHolder

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
FieldValuesHolderImpl()
           
FieldValuesHolderImpl(int initialCapacity)
           
FieldValuesHolderImpl(int initialCapacity, float loadFactor)
           
FieldValuesHolderImpl(Map<String,?> map)
           
 
Method Summary
 Object getEscaped(Object key)
          A public non-interface method to allow for returning HTML escaped strings.
 Object put(String key, Object value)
           
 void putAll(Map<? extends String,?> map)
           
 
Methods inherited from class java.util.HashMap
clear, 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
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, remove, size, values
 

Constructor Detail

FieldValuesHolderImpl

public FieldValuesHolderImpl()

FieldValuesHolderImpl

public FieldValuesHolderImpl(int initialCapacity)

FieldValuesHolderImpl

public FieldValuesHolderImpl(int initialCapacity,
                             float loadFactor)

FieldValuesHolderImpl

public FieldValuesHolderImpl(Map<String,?> map)
Method Detail

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(@Nonnull
                   Map<? extends String,?> map)
Specified by:
putAll in interface Map<String,Object>
Overrides:
putAll in class HashMap<String,Object>

getEscaped

public Object getEscaped(Object key)
A public non-interface method to allow for returning HTML escaped strings. This should only be used as a short hand by view templates.

Parameters:
key - the key
Returns:
The object for the key. If a string, a string with with HTML characters escpaed.


Copyright © 2002-2014 Atlassian. All Rights Reserved.