org.apache.myfaces.shared_impl.util.el
Class TestsMap
java.lang.Object
org.apache.myfaces.shared_impl.util.el.GenericMap
org.apache.myfaces.shared_impl.util.el.TestsMap
- All Implemented Interfaces:
- java.util.Map
public abstract class TestsMap
- extends GenericMap
You can use this class to perform tests.
Use this for example in JSF backing beans, like BaseFace.getUserInRole(String).
- Version:
- $Revision: 355303 $ $Date: 2005-12-09 02:36:08 +0100 (Fr, 09 Dez 2005) $
- Author:
- Sylvain Vieujot (latest modification by $Author: skitching $)
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Method Summary |
java.lang.Object |
get(java.lang.Object key)
|
abstract boolean |
getTest(java.lang.String testKey)
This method should return the result of the test. |
protected java.lang.Object |
getValue(java.lang.Object testKey)
This method should return the result of the test. |
java.lang.Boolean |
put(java.lang.String key,
java.lang.Boolean value)
|
Methods inherited from class org.apache.myfaces.shared_impl.util.el.GenericMap |
clear, containsKey, containsValue, entrySet, 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 |
Methods inherited from interface java.util.Map |
equals, hashCode |
TestsMap
public TestsMap()
getTest
public abstract boolean getTest(java.lang.String testKey)
- This method should return the result of the test.
getValue
protected java.lang.Object getValue(java.lang.Object testKey)
- Description copied from class:
GenericMap
- This method should return the result of the test.
- Specified by:
getValue
in class GenericMap
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
get
in interface java.util.Map
- Overrides:
get
in class GenericMap
put
public java.lang.Boolean put(java.lang.String key,
java.lang.Boolean value)
Copyright © 2011. All Rights Reserved.