1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.seasar.teeda.core.context; |
17 | |
|
18 | |
import java.util.Collection; |
19 | |
import java.util.Collections; |
20 | |
import java.util.Map; |
21 | |
import java.util.Set; |
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
public abstract class AbstractUnmodifiableExternalContextMap extends |
27 | |
AbstractExternalContextMap { |
28 | |
|
29 | |
|
30 | 0 | public AbstractUnmodifiableExternalContextMap() { |
31 | 0 | } |
32 | |
|
33 | |
public final Set entrySet() { |
34 | 0 | return Collections.unmodifiableSet(super.entrySet()); |
35 | |
} |
36 | |
|
37 | |
public final Set keySet() { |
38 | 0 | return Collections.unmodifiableSet(super.keySet()); |
39 | |
} |
40 | |
|
41 | |
public final Collection values() { |
42 | 0 | return Collections.unmodifiableCollection(super.values()); |
43 | |
} |
44 | |
|
45 | |
public final void clear() { |
46 | 0 | throw new UnsupportedOperationException(); |
47 | |
} |
48 | |
|
49 | |
public final Object put(Object key, Object value) { |
50 | 0 | throw new UnsupportedOperationException(); |
51 | |
} |
52 | |
|
53 | |
public final void putAll(Map map) { |
54 | 0 | throw new UnsupportedOperationException(); |
55 | |
} |
56 | |
|
57 | |
public final Object remove(Object key) { |
58 | 0 | throw new UnsupportedOperationException(); |
59 | |
} |
60 | |
|
61 | |
protected final void setAttribute(String key, Object value) { |
62 | 0 | throw new UnsupportedOperationException(); |
63 | |
} |
64 | |
|
65 | |
protected final void removeAttribute(String key) { |
66 | 0 | throw new UnsupportedOperationException(); |
67 | |
} |
68 | |
} |