javax.faces.context
Class FlashWrapper

java.lang.Object
  extended by javax.faces.context.Flash
      extended by javax.faces.context.FlashWrapper
All Implemented Interfaces:
Map<String,Object>, FacesWrapper<Flash>

public abstract class FlashWrapper
extends Flash
implements FacesWrapper<Flash>

Since:
2.2
Author:
Leonardo Uribe

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class javax.faces.context.Flash
NULL_VALUE
 
Constructor Summary
FlashWrapper()
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 void doPostPhaseActions(FacesContext context)
           
 void doPrePhaseActions(FacesContext context)
           
 Set<Map.Entry<String,Object>> entrySet()
           
 Object get(Object key)
           
abstract  Flash getWrapped()
          A class that implements this interface uses this method to return an instance of the class being wrapped.
 boolean isEmpty()
           
 boolean isKeepMessages()
           
 boolean isRedirect()
           
 void keep(String key)
           
 Set<String> keySet()
           
 Object put(String key, Object value)
           
 void putAll(Map<? extends String,? extends Object> m)
           
 void putNow(String key, Object value)
           
 Object remove(Object key)
           
 void setKeepMessages(boolean newValue)
           
 void setRedirect(boolean newValue)
           
 int size()
           
 Collection<Object> 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

FlashWrapper

public FlashWrapper()
Method Detail

isKeepMessages

public boolean isKeepMessages()
Specified by:
isKeepMessages in class Flash

isRedirect

public boolean isRedirect()
Specified by:
isRedirect in class Flash

keep

public void keep(String key)
Specified by:
keep in class Flash

putNow

public void putNow(String key,
                   Object value)
Specified by:
putNow in class Flash

setKeepMessages

public void setKeepMessages(boolean newValue)
Specified by:
setKeepMessages in class Flash

setRedirect

public void setRedirect(boolean newValue)
Specified by:
setRedirect in class Flash

doPrePhaseActions

public void doPrePhaseActions(FacesContext context)
Specified by:
doPrePhaseActions in class Flash

doPostPhaseActions

public void doPostPhaseActions(FacesContext context)
Specified by:
doPostPhaseActions in class Flash

size

public int size()
Specified by:
size in interface Map<String,Object>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<String,Object>

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map<String,Object>

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map<String,Object>

get

public Object get(Object key)
Specified by:
get in interface Map<String,Object>

put

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

remove

public Object remove(Object key)
Specified by:
remove in interface Map<String,Object>

putAll

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

clear

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

keySet

public Set<String> keySet()
Specified by:
keySet in interface Map<String,Object>

values

public Collection<Object> values()
Specified by:
values in interface Map<String,Object>

entrySet

public Set<Map.Entry<String,Object>> entrySet()
Specified by:
entrySet in interface Map<String,Object>

getWrapped

public abstract Flash getWrapped()
Description copied from interface: FacesWrapper
A class that implements this interface uses this method to return an instance of the class being wrapped.

Specified by:
getWrapped in interface FacesWrapper<Flash>
Returns:
the instance of the class being wrapped


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.