Coverage Report - org.seasar.teeda.core.context.AbstractUnmodifiableExternalContextMap
 
Classes in this File Line Coverage Branch Coverage Complexity
AbstractUnmodifiableExternalContextMap
0%
0/11
N/A
1.6
 
 1  
 /*
 2  
  * Copyright 2004-2011 the Seasar Foundation and the Others.
 3  
  *
 4  
  * Licensed under the Apache License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  *     http://www.apache.org/licenses/LICENSE-2.0
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
 13  
  * either express or implied. See the License for the specific language
 14  
  * governing permissions and limitations under the License.
 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  
  * @author shot
 25  
  */
 26  
 public abstract class AbstractUnmodifiableExternalContextMap extends
 27  
         AbstractExternalContextMap {
 28  
 
 29  
     //TODO REMOVE this after org.seasar.teeda.core.context.portlet.* remove.
 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  
 }