Coverage Report - javax.faces.application.StateManagerWrapper
 
Classes in this File Line Coverage Branch Coverage Complexity
StateManagerWrapper
0%
0/15
N/A
1
 
 1  
 /*
 2  
  * Licensed to the Apache Software Foundation (ASF) under one
 3  
  * or more contributor license agreements.  See the NOTICE file
 4  
  * distributed with this work for additional information
 5  
  * regarding copyright ownership.  The ASF licenses this file
 6  
  * to you under the Apache License, Version 2.0 (the
 7  
  * "License"); you may not use this file except in compliance
 8  
  * with the License.  You may obtain a copy of the License at
 9  
  *
 10  
  *   http://www.apache.org/licenses/LICENSE-2.0
 11  
  *
 12  
  * Unless required by applicable law or agreed to in writing,
 13  
  * software distributed under the License is distributed on an
 14  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 15  
  * KIND, either express or implied.  See the License for the
 16  
  * specific language governing permissions and limitations
 17  
  * under the License.
 18  
  */
 19  
 
 20  
 package javax.faces.application;
 21  
 
 22  
 import java.io.IOException;
 23  
 import javax.faces.component.UIViewRoot;
 24  
 import javax.faces.context.FacesContext;
 25  
 import javax.faces.FacesWrapper;
 26  
 
 27  
 /**
 28  
  * see Javadoc of <a href="http://java.sun.com/j2ee/javaserverfaces/1.2/docs/api/index.html">JSF Specification</a>
 29  
  */
 30  0
 public abstract class StateManagerWrapper extends StateManager implements FacesWrapper<StateManager>
 31  
 {
 32  
 
 33  
     public abstract StateManager getWrapped();
 34  
 
 35  
     @SuppressWarnings("deprecation")
 36  
     @Override
 37  
     public StateManager.SerializedView saveSerializedView(FacesContext context)
 38  
     {
 39  0
         return getWrapped().saveSerializedView(context);
 40  
     }
 41  
 
 42  
     @Override
 43  
     public Object saveView(FacesContext context)
 44  
     {
 45  0
         return getWrapped().saveView(context);
 46  
     }
 47  
 
 48  
     @Override
 49  
     public boolean isSavingStateInClient(FacesContext context)
 50  
     {
 51  0
         return getWrapped().isSavingStateInClient(context);
 52  
     }
 53  
 
 54  
     @SuppressWarnings("deprecation")
 55  
     @Override
 56  
     protected Object getTreeStructureToSave(FacesContext context)
 57  
     {
 58  0
         return getWrapped().getTreeStructureToSave(context);
 59  
     }
 60  
 
 61  
     @SuppressWarnings("deprecation")
 62  
     @Override
 63  
     protected Object getComponentStateToSave(FacesContext context)
 64  
     {
 65  0
         return getWrapped().getComponentStateToSave(context);
 66  
     }
 67  
 
 68  
     @SuppressWarnings("deprecation")
 69  
     @Override
 70  
     public void writeState(FacesContext context, StateManager.SerializedView state) throws IOException
 71  
     {
 72  0
         getWrapped().writeState(context, state);
 73  0
     }
 74  
 
 75  
     @Override
 76  
     public void writeState(FacesContext context, Object state) throws IOException
 77  
     {
 78  0
         getWrapped().writeState(context, state);
 79  0
     }
 80  
 
 81  
     @Override
 82  
     public UIViewRoot restoreView(FacesContext context, String viewId, String renderKitId)
 83  
     {
 84  0
         return getWrapped().restoreView(context, viewId, renderKitId);
 85  
     }
 86  
 
 87  
     @SuppressWarnings("deprecation")
 88  
     @Override
 89  
     protected UIViewRoot restoreTreeStructure(FacesContext context, String viewId, String renderKitId)
 90  
     {
 91  0
         return getWrapped().restoreTreeStructure(context, viewId, renderKitId);
 92  
     }
 93  
 
 94  
     @SuppressWarnings("deprecation")
 95  
     @Override
 96  
     protected void restoreComponentState(FacesContext context, UIViewRoot viewRoot, String renderKitId)
 97  
     {
 98  0
         getWrapped().restoreComponentState(context, viewRoot, renderKitId);
 99  0
     }
 100  
 
 101  
     @Override
 102  
     public String getViewState(FacesContext context)
 103  
     {
 104  0
         return getWrapped().getViewState(context);
 105  
     }
 106  
 
 107  
 }