|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sling.scripting.core.impl.helper.ProtectedBindings
public class ProtectedBindings
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
ProtectedBindings(javax.script.Bindings wrapped,
Set<String> protectedKeys)
|
Method Summary | |
---|---|
void |
clear()
The clear operation is not supported. |
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
Set<Map.Entry<String,Object>> |
entrySet()
Returns a Set view of the mappings contains in this map. |
Object |
get(Object key)
|
boolean |
isEmpty()
|
Set<String> |
keySet()
Returns a Set view of the keys contained in this map. |
Object |
put(String key,
Object value)
|
void |
putAll(Map<? extends String,? extends Object> toMerge)
|
Object |
remove(Object key)
|
int |
size()
|
Collection<Object> |
values()
Returns a Collection view of the values contained in this map. |
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 |
---|
public ProtectedBindings(javax.script.Bindings wrapped, Set<String> protectedKeys)
Method Detail |
---|
public Object put(String key, Object value)
put
in interface Map<String,Object>
put
in interface javax.script.Bindings
IllegalArgumentException
- if the key is protectedpublic void putAll(Map<? extends String,? extends Object> toMerge)
putAll
in interface Map<String,Object>
putAll
in interface javax.script.Bindings
public Object remove(Object key)
remove
in interface Map<String,Object>
remove
in interface javax.script.Bindings
IllegalArgumentException
- if the key is protectedpublic void clear()
clear
in interface Map<String,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<String,Object>
public Set<Map.Entry<String,Object>> entrySet()
entrySet
in interface Map<String,Object>
public boolean isEmpty()
isEmpty
in interface Map<String,Object>
public Set<String> keySet()
keySet
in interface Map<String,Object>
public int size()
size
in interface Map<String,Object>
public Collection<Object> values()
values
in interface Map<String,Object>
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
containsKey
in interface javax.script.Bindings
public Object get(Object key)
get
in interface Map<String,Object>
get
in interface javax.script.Bindings
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |