Coverage Report - javax.faces.application.ResourceHandlerWrapper
 
Classes in this File Line Coverage Branch Coverage Complexity
ResourceHandlerWrapper
0%
0/12
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  
 package javax.faces.application;
 20  
 
 21  
 import java.io.IOException;
 22  
 
 23  
 import javax.faces.FacesWrapper;
 24  
 import javax.faces.context.FacesContext;
 25  
 
 26  
 /**
 27  
  * @since 2.0
 28  
  */
 29  0
 public abstract class ResourceHandlerWrapper extends ResourceHandler
 30  
     implements FacesWrapper<ResourceHandler>
 31  
 {
 32  
     @Override
 33  
     public Resource createResource(String resourceName)
 34  
     {
 35  0
         return getWrapped().createResource(resourceName);
 36  
     }
 37  
     
 38  
     @Override
 39  
     public Resource createResource(String resourceName, String libraryName)
 40  
     {
 41  0
         return getWrapped().createResource(resourceName, libraryName);
 42  
     }
 43  
     
 44  
     @Override
 45  
     public Resource createResource(String resourceName, String libraryName, String contentType)
 46  
     {
 47  0
         return getWrapped().createResource(resourceName, libraryName, contentType);
 48  
     }
 49  
     
 50  
     @Override
 51  
     public String getRendererTypeForResourceName(String resourceName)
 52  
     {
 53  0
         return getWrapped().getRendererTypeForResourceName(resourceName);
 54  
     }
 55  
     
 56  
     @Override
 57  
     public void handleResourceRequest(FacesContext context) throws IOException
 58  
     {
 59  0
         getWrapped().handleResourceRequest(context);
 60  0
     }
 61  
     
 62  
     @Override
 63  
     public boolean isResourceRequest(FacesContext context)
 64  
     {
 65  0
         return getWrapped().isResourceRequest(context);
 66  
     }
 67  
     
 68  
     @Override
 69  
     public boolean libraryExists(String libraryName)
 70  
     {
 71  0
         return getWrapped().libraryExists(libraryName);
 72  
     }
 73  
 
 74  
     @Override
 75  
     public Resource createResourceFromId(String resourceId)
 76  
     {
 77  0
         return getWrapped().createResourceFromId(resourceId);
 78  
     }
 79  
 
 80  
     @Override
 81  
     public ViewResource createViewResource(FacesContext context, String resourceName)
 82  
     {
 83  0
         return getWrapped().createViewResource(context, resourceName);
 84  
     }
 85  
 
 86  
     @Override
 87  
     public boolean isResourceURL(String url)
 88  
     {
 89  0
         return getWrapped().isResourceURL(url);
 90  
     }
 91  
     
 92  
     public abstract ResourceHandler getWrapped();
 93  
 }