Coverage Report - org.apache.myfaces.config.impl.digester.elements.facelets.FaceletTagLibraryImpl
 
Classes in this File Line Coverage Branch Coverage Complexity
FaceletTagLibraryImpl
0%
0/22
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.facelets;
 20  
 
 21  
 import java.io.Serializable;
 22  
 import java.util.ArrayList;
 23  
 import java.util.List;
 24  
 import org.apache.myfaces.config.element.facelets.FaceletFunction;
 25  
 import org.apache.myfaces.config.element.facelets.FaceletTag;
 26  
 import org.apache.myfaces.config.element.facelets.FaceletTagLibrary;
 27  
 
 28  
 /**
 29  
  *
 30  
  */
 31  
 public class FaceletTagLibraryImpl extends FaceletTagLibrary implements Serializable
 32  
 {
 33  
     private String namespace;
 34  
     private String shortName;
 35  
     private String compositeLibraryName;
 36  
     private String libraryClass;
 37  0
     private List<FaceletTag> tags = new ArrayList<FaceletTag>();
 38  0
     private List<FaceletFunction> functions = new ArrayList<FaceletFunction>();
 39  
 
 40  
     public FaceletTagLibraryImpl()
 41  0
     {
 42  0
     }
 43  
 
 44  
     public String getNamespace()
 45  
     {
 46  0
         return namespace;
 47  
     }
 48  
 
 49  
     public void setNamespace(String namespace)
 50  
     {
 51  0
         this.namespace = namespace;
 52  0
     }
 53  
 
 54  
     public String getShortName()
 55  
     {
 56  0
         return shortName;
 57  
     }
 58  
 
 59  
     public void setShortName(String shortName)
 60  
     {
 61  0
         this.shortName = shortName;
 62  0
     }
 63  
 
 64  
     public String getCompositeLibraryName()
 65  
     {
 66  0
         return compositeLibraryName;
 67  
     }
 68  
 
 69  
     public void setCompositeLibraryName(String compositeLibraryName)
 70  
     {
 71  0
         this.compositeLibraryName = compositeLibraryName;
 72  0
     }
 73  
 
 74  
     public String getLibraryClass()
 75  
     {
 76  0
         return libraryClass;
 77  
     }
 78  
 
 79  
     public void setLibraryClass(String libraryClass)
 80  
     {
 81  0
         this.libraryClass = libraryClass;
 82  0
     }
 83  
 
 84  
     public List<FaceletTag> getTags()
 85  
     {
 86  0
         return tags;
 87  
     }
 88  
 
 89  
     public void addTag(FaceletTag tag)
 90  
     {
 91  0
         this.tags.add(tag);
 92  0
     }
 93  
 
 94  
     @Override
 95  
     public List<FaceletFunction> getFunctions()
 96  
     {
 97  0
         return this.functions;
 98  
     }
 99  
     
 100  
     public void addFunction(FaceletFunction function)
 101  
     {
 102  0
         this.functions.add(function);
 103  0
     }
 104  
     
 105  
 }