Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
JThequeNamespaceHandler |
|
| 1.0;1 |
1 | package org.jtheque.core.spring.extension; | |
2 | ||
3 | import org.springframework.beans.factory.xml.NamespaceHandlerSupport; | |
4 | ||
5 | /* | |
6 | * This file is part of JTheque. | |
7 | * | |
8 | * JTheque is free software: you can redistribute it and/or modify | |
9 | * it under the terms of the GNU General Public License as published by | |
10 | * the Free Software Foundation, either version 3 of the License. | |
11 | * | |
12 | * JTheque is distributed in the hope that it will be useful, | |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | * GNU General Public License for more details. | |
16 | * | |
17 | * You should have received a copy of the GNU General Public License | |
18 | * along with JTheque. If not, see <http://www.gnu.org/licenses/>. | |
19 | */ | |
20 | ||
21 | /** | |
22 | * @author Baptiste Wicht | |
23 | */ | |
24 | 0 | public final class JThequeNamespaceHandler extends NamespaceHandlerSupport { |
25 | @Override | |
26 | public void init() { | |
27 | 0 | registerBeanDefinitionParser("proxy", new ProxyBeanDefinitionParser()); |
28 | 0 | registerBeanDefinitionParser("swing-bean", new SwingBeanDefinitionParser()); |
29 | 0 | registerBeanDefinitionParser("activable", new ActivableBeanDefinitionParser()); |
30 | 0 | registerBeanDefinitionParser("color", new ColorBeanDefinitionParser()); |
31 | 0 | registerBeanDefinitionParser("point", new PointBeanDefinitionParser()); |
32 | 0 | registerBeanDefinitionParser("close", new JThequeActionBeanDefinitionParser("close")); |
33 | 0 | registerBeanDefinitionParser("display", new JThequeActionBeanDefinitionParser("display")); |
34 | 0 | } |
35 | } |