Coverage Report - org.apache.myfaces.config.impl.digester.elements.FactoryImpl
 
Classes in this File Line Coverage Branch Coverage Complexity
FactoryImpl
0%
0/57
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 org.apache.myfaces.config.impl.digester.elements;
 20  
 
 21  
 import java.io.Serializable;
 22  
 import java.util.ArrayList;
 23  
 import java.util.List;
 24  
 
 25  
 /**
 26  
  * @author <a href="mailto:oliver@rossmueller.com">Oliver Rossmueller</a>
 27  
  */
 28  0
 public class FactoryImpl extends org.apache.myfaces.config.element.Factory implements Serializable
 29  
 {
 30  0
     private List<String> applicationFactories = new ArrayList<String>();
 31  0
     private List<String> exceptionHandlerFactories = new ArrayList<String>();
 32  0
     private List<String> externalContextFactories = new ArrayList<String>();
 33  0
     private List<String> facesContextFactories = new ArrayList<String>();
 34  0
     private List<String> lifecycleFactories = new ArrayList<String>();
 35  0
     private List<String> ViewDeclarationLanguageFactories = new ArrayList<String>();
 36  0
     private List<String> partialViewContextFactories = new ArrayList<String>();
 37  0
     private List<String> renderKitFactories = new ArrayList<String>();
 38  0
     private List<String> tagHandlerDelegateFactories = new ArrayList<String>();
 39  0
     private List<String> visitContextFactories = new ArrayList<String>();
 40  0
     private List<String> faceletCacheFactories = new ArrayList<String>();
 41  0
     private List<String> flowHandlerFactories = new ArrayList<String>();
 42  0
     private List<String> flashFactories = new ArrayList<String>();
 43  0
     private List<String> clientWindowFactories = new ArrayList<String>();
 44  
 
 45  
     public void addApplicationFactory(String factory)
 46  
     {
 47  0
         applicationFactories.add(factory);
 48  0
     }
 49  
 
 50  
     public void addExceptionHandlerFactory(String factory)
 51  
     {
 52  0
         exceptionHandlerFactories.add(factory);
 53  0
     }
 54  
 
 55  
     public void addExternalContextFactory(String factory)
 56  
     {
 57  0
         externalContextFactories.add(factory);
 58  0
     }
 59  
 
 60  
     public void addFacesContextFactory(String factory)
 61  
     {
 62  0
         facesContextFactories.add(factory);
 63  0
     }
 64  
 
 65  
     public void addLifecycleFactory(String factory)
 66  
     {
 67  0
         lifecycleFactories.add(factory);
 68  0
     }
 69  
 
 70  
     public void addViewDeclarationLanguageFactory(String factory)
 71  
     {
 72  0
         ViewDeclarationLanguageFactories.add(factory);
 73  0
     }
 74  
 
 75  
     public void addPartialViewContextFactory(String factory)
 76  
     {
 77  0
         partialViewContextFactories.add(factory);
 78  0
     }
 79  
 
 80  
     public void addRenderkitFactory(String factory)
 81  
     {
 82  0
         renderKitFactories.add(factory);
 83  0
     }
 84  
 
 85  
     public void addTagHandlerDelegateFactory(String factory)
 86  
     {
 87  0
         tagHandlerDelegateFactories.add(factory);
 88  0
     }
 89  
 
 90  
     public void addVisitContextFactory(String factory)
 91  
     {
 92  0
         visitContextFactories.add(factory);
 93  0
     }
 94  
     
 95  
     public void addFaceletCacheFactory(String factory)
 96  
     {
 97  0
         faceletCacheFactories.add(factory);
 98  0
     }
 99  
 
 100  
     public void addFlashFactory(String factory)
 101  
     {
 102  0
         flashFactories.add(factory);
 103  0
     }
 104  
     
 105  
     public void addFlowHandlerFactory(String factory)
 106  
     {
 107  0
         flowHandlerFactories.add(factory);
 108  0
     }
 109  
 
 110  
     public void addClientWindowFactory(String factory)
 111  
     {
 112  0
         clientWindowFactories.add(factory);
 113  0
     }
 114  
     
 115  
     public List<String> getApplicationFactory()
 116  
     {
 117  0
         return applicationFactories;
 118  
     }
 119  
 
 120  
     public List<String> getExceptionHandlerFactory()
 121  
     {
 122  0
         return exceptionHandlerFactories;
 123  
     }
 124  
 
 125  
     public List<String> getExternalContextFactory()
 126  
     {
 127  0
         return externalContextFactories;
 128  
     }
 129  
 
 130  
     public List<String> getFacesContextFactory()
 131  
     {
 132  0
         return facesContextFactories;
 133  
     }
 134  
 
 135  
     public List<String> getLifecycleFactory()
 136  
     {
 137  0
         return lifecycleFactories;
 138  
     }
 139  
 
 140  
     public List<String> getViewDeclarationLanguageFactory()
 141  
     {
 142  0
         return ViewDeclarationLanguageFactories;
 143  
     }
 144  
 
 145  
     public List<String> getPartialViewContextFactory()
 146  
     {
 147  0
         return partialViewContextFactories;
 148  
     }
 149  
 
 150  
     public List<String> getRenderkitFactory()
 151  
     {
 152  0
         return renderKitFactories;
 153  
     }
 154  
 
 155  
     public List<String> getTagHandlerDelegateFactory()
 156  
     {
 157  0
         return tagHandlerDelegateFactories;
 158  
     }
 159  
 
 160  
     public List<String> getVisitContextFactory()
 161  
     {
 162  0
         return visitContextFactories;
 163  
     }
 164  
 
 165  
     @Override
 166  
     public List<String> getFaceletCacheFactory()
 167  
     {
 168  0
         return faceletCacheFactories;
 169  
     }
 170  
 
 171  
     @Override
 172  
     public List<String> getFlashFactory()
 173  
     {
 174  0
         return flashFactories;
 175  
     }
 176  
 
 177  
     @Override
 178  
     public List<String> getFlowHandlerFactory()
 179  
     {
 180  0
         return flowHandlerFactories;
 181  
     }
 182  
 
 183  
     @Override
 184  
     public List<String> getClientWindowFactory()
 185  
     {
 186  0
         return clientWindowFactories;
 187  
     }
 188  
 }