Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ComponentTagDeclarationImpl |
|
| 1.0;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 org.apache.myfaces.config.element.ComponentTagDeclaration; | |
23 | ||
24 | /** | |
25 | * | |
26 | * @author lu4242 | |
27 | */ | |
28 | public class ComponentTagDeclarationImpl extends ComponentTagDeclaration implements Serializable | |
29 | { | |
30 | private String componentType; | |
31 | private String namespace; | |
32 | private String tagName; | |
33 | ||
34 | public ComponentTagDeclarationImpl(String componentType, String namespace, String tagName) | |
35 | 0 | { |
36 | 0 | this.componentType = componentType; |
37 | 0 | this.namespace = namespace; |
38 | 0 | this.tagName = tagName; |
39 | 0 | } |
40 | ||
41 | /** | |
42 | * @return the namespace | |
43 | */ | |
44 | public String getNamespace() | |
45 | { | |
46 | 0 | return namespace; |
47 | } | |
48 | ||
49 | /** | |
50 | * @param namespace the namespace to set | |
51 | */ | |
52 | public void setNamespace(String namespace) | |
53 | { | |
54 | 0 | this.namespace = namespace; |
55 | 0 | } |
56 | ||
57 | /** | |
58 | * @return the tagName | |
59 | */ | |
60 | public String getTagName() | |
61 | { | |
62 | 0 | return tagName; |
63 | } | |
64 | ||
65 | /** | |
66 | * @param tagName the tagName to set | |
67 | */ | |
68 | public void setTagName(String tagName) | |
69 | { | |
70 | 0 | this.tagName = tagName; |
71 | 0 | } |
72 | ||
73 | /** | |
74 | * @return the componentType | |
75 | */ | |
76 | public String getComponentType() | |
77 | { | |
78 | 0 | return componentType; |
79 | } | |
80 | ||
81 | /** | |
82 | * @param componentType the componentType to set | |
83 | */ | |
84 | public void setComponentType(String componentType) | |
85 | { | |
86 | 0 | this.componentType = componentType; |
87 | 0 | } |
88 | } |