Coverage Report - org.apache.myfaces.config.impl.digester.elements.Application
 
Classes in this File Line Coverage Branch Coverage Complexity
Application
0%
0/45
N/A
0
 
 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.util.ArrayList;
 22  
 import java.util.List;
 23  
 
 24  
 /**
 25  
  * @author <a href="mailto:oliver@rossmueller.com">Oliver Rossmueller</a>
 26  
  */
 27  0
 public class Application
 28  
 {
 29  
 
 30  0
     private final List<String> actionListener = new ArrayList<String>();
 31  0
     private final List<String> defaultRenderkitId = new ArrayList<String>();
 32  0
     private final List<String> messageBundle = new ArrayList<String>();
 33  0
     private final List<String> navigationHandler = new ArrayList<String>();
 34  0
     private final List<String> viewHandler = new ArrayList<String>();
 35  0
     private final List<String> stateManager = new ArrayList<String>();
 36  0
     private final List<String> propertyResolver = new ArrayList<String>();
 37  0
     private final List<String> variableResolver = new ArrayList<String>();
 38  0
     private final List<LocaleConfig> localeConfig = new ArrayList<LocaleConfig>();
 39  0
     private final List<String> elResolver = new ArrayList<String>();
 40  0
     private final List<ResourceBundle> resourceBundle = new ArrayList<ResourceBundle>();
 41  
 
 42  
     public void addActionListener(String listener)
 43  
     {
 44  0
         actionListener.add(listener);
 45  0
     }
 46  
 
 47  
     public void addDefaultRenderkitId(String id)
 48  
     {
 49  0
         defaultRenderkitId.add(id);
 50  0
     }
 51  
 
 52  
     public void addMessageBundle(String bundle)
 53  
     {
 54  0
         messageBundle.add(bundle);
 55  0
     }
 56  
 
 57  
     public void addNavigationHandler(String handler)
 58  
     {
 59  0
         navigationHandler.add(handler);
 60  0
     }
 61  
 
 62  
     public void addStateManager(String manager)
 63  
     {
 64  0
         stateManager.add(manager);
 65  0
     }
 66  
 
 67  
     public void addPropertyResolver(String resolver)
 68  
     {
 69  0
         propertyResolver.add(resolver);
 70  0
     }
 71  
 
 72  
     public void addVariableResolver(String handler)
 73  
     {
 74  0
         variableResolver.add(handler);
 75  0
     }
 76  
 
 77  
     public void addLocaleConfig(LocaleConfig config)
 78  
     {
 79  0
         localeConfig.add(config);
 80  0
     }
 81  
 
 82  
     public void addViewHandler(String handler)
 83  
     {
 84  0
         viewHandler.add(handler);
 85  0
     }
 86  
 
 87  
     public void addElResolver(String handler)
 88  
     {
 89  0
         elResolver.add(handler);
 90  0
     }
 91  
 
 92  
     public void addResourceBundle(ResourceBundle bundle)
 93  
     {
 94  0
         resourceBundle.add(bundle);
 95  0
     }
 96  
 
 97  
     public List<String> getActionListener()
 98  
     {
 99  0
         return actionListener;
 100  
     }
 101  
 
 102  
     public List<String> getDefaultRenderkitId()
 103  
     {
 104  0
         return defaultRenderkitId;
 105  
     }
 106  
 
 107  
     public List<String> getMessageBundle()
 108  
     {
 109  0
         return messageBundle;
 110  
     }
 111  
 
 112  
     public List<String> getNavigationHandler()
 113  
     {
 114  0
         return navigationHandler;
 115  
     }
 116  
 
 117  
     public List<String> getViewHandler()
 118  
     {
 119  0
         return viewHandler;
 120  
     }
 121  
 
 122  
     public List<String> getStateManager()
 123  
     {
 124  0
         return stateManager;
 125  
     }
 126  
 
 127  
     public List<String> getPropertyResolver()
 128  
     {
 129  0
         return propertyResolver;
 130  
     }
 131  
 
 132  
     public List<String> getVariableResolver()
 133  
     {
 134  0
         return variableResolver;
 135  
     }
 136  
 
 137  
     public List<LocaleConfig> getLocaleConfig()
 138  
     {
 139  0
         return localeConfig;
 140  
     }
 141  
 
 142  
     public List<String> getElResolver()
 143  
     {
 144  0
         return elResolver;
 145  
     }
 146  
 
 147  
     public List<ResourceBundle> getResourceBundle()
 148  
     {
 149  0
         return resourceBundle;
 150  
     }
 151  
 }