com.liferay.faces.util.context.map
Class JavaScriptMap
java.lang.Object
com.liferay.faces.util.map.AbstractPropertyMap<String>
com.liferay.faces.util.context.map.JavaScriptMap
- All Implemented Interfaces:
- Map<String,String>
public class JavaScriptMap
- extends AbstractPropertyMap<String>
This class serves as a layer of abstraction for a Map of strings, each representing a separate fragment of
JavaScript. If ICEfaces is detected, then the implementation delegates to the ICEfaces org.icefaces.util.JavaScriptRunner so that the ICEfaces DOMPartialViewContext class can have a chance to render
JavaScript fragments. Otherwise, the implementation stores the map as a request attribute.
- Author:
- Neil Griffin
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Methods inherited from class com.liferay.faces.util.map.AbstractPropertyMap |
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaScriptMap
public JavaScriptMap()
createPropertyMapEntry
protected AbstractPropertyMapEntry<String> createPropertyMapEntry(String name)
- Specified by:
createPropertyMapEntry in class AbstractPropertyMap<String>
removeProperty
protected void removeProperty(String name)
- Specified by:
removeProperty in class AbstractPropertyMap<String>
getProperty
protected String getProperty(String name)
- Specified by:
getProperty in class AbstractPropertyMap<String>
setProperty
protected void setProperty(String name,
String value)
- Specified by:
setProperty in class AbstractPropertyMap<String>
getPropertyNames
protected Enumeration<String> getPropertyNames()
- Specified by:
getPropertyNames in class AbstractPropertyMap<String>
getRequestAttribute
protected Map<String,String> getRequestAttribute()
Copyright © 2014 Liferay, Inc.. All Rights Reserved.