org.broadleafcommerce.cms.web.utility
Class FieldMapWrapper

java.lang.Object
  extended by org.broadleafcommerce.cms.web.utility.FieldMapWrapper
All Implemented Interfaces:
Map

public class FieldMapWrapper
extends Object
implements Map

FieldMapWrapper is used in combination with PageField and StructuredContentField classes. It is used by the DisplayContentTag to allow for simpler use of these entities within JSP pages. For example, instead of ${page.pageFields.body.value}, this class allows the JSP syntax to be ${page.body} supporting more readable JSP code. Created by bpolster.


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
FieldMapWrapper(Map wrappedMap)
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object o)
           
 boolean containsValue(Object o)
           
 Set entrySet()
           
 Object get(Object o)
           
 boolean isEmpty()
           
 Set keySet()
           
 Object put(Object o, Object o1)
           
 void putAll(Map map)
           
 Object remove(Object o)
           
 int size()
           
 Collection values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

FieldMapWrapper

public FieldMapWrapper(Map wrappedMap)
Method Detail

size

public int size()
Specified by:
size in interface Map

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map

containsKey

public boolean containsKey(Object o)
Specified by:
containsKey in interface Map

containsValue

public boolean containsValue(Object o)
Specified by:
containsValue in interface Map

get

public Object get(Object o)
Specified by:
get in interface Map

put

public Object put(Object o,
                  Object o1)
Specified by:
put in interface Map

remove

public Object remove(Object o)
Specified by:
remove in interface Map

putAll

public void putAll(Map map)
Specified by:
putAll in interface Map

clear

public void clear()
Specified by:
clear in interface Map

keySet

public Set keySet()
Specified by:
keySet in interface Map

values

public Collection values()
Specified by:
values in interface Map

entrySet

public Set entrySet()
Specified by:
entrySet in interface Map


Copyright © 2011. All Rights Reserved.