Clover Coverage Report - KS Common 1.2.1-SNAPSHOT (Aggregated)
Coverage timestamp: Wed Nov 2 2011 04:55:08 EST
../../../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
15   44   1   15
0   23   0.07   1
1     1  
1    
 
  SearchNamespaceHandler       Line # 21 15 0% 1 0 100% 1.0
 
  (5)
 
1    /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10    * software distributed under the License is distributed on an "AS IS"
11    * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12    * or implied. See the License for the specific language governing
13    * permissions and limitations under the License.
14    */
15   
16    package org.kuali.student.common.search.service.impl;
17   
18    import org.springframework.beans.factory.xml.BeanDefinitionParser;
19    import org.springframework.beans.factory.xml.NamespaceHandlerSupport;
20   
 
21    public class SearchNamespaceHandler extends NamespaceHandlerSupport {
22   
 
23  15 toggle @Override
24    public void init() {
25  15 BeanDefinitionParser parser = new SearchBeanDefinitionParser();
26  15 this.registerBeanDefinitionParser("fieldDescriptor", parser);
27  15 this.registerBeanDefinitionParser("searchCriteriaTypeInfo", parser);
28  15 this.registerBeanDefinitionParser("queryParam", parser);
29  15 this.registerBeanDefinitionParser("resultColumn", parser);
30  15 this.registerBeanDefinitionParser("searchType", parser);
31  15 this.registerBeanDefinitionParser("searchResultTypeInfo", parser);
32   
33  15 this.registerBeanDefinitionParser("crossSearchType", parser);
34  15 this.registerBeanDefinitionParser("subSearch", parser);
35  15 this.registerBeanDefinitionParser("subSearchParamMappings", parser);
36  15 this.registerBeanDefinitionParser("joinCriteria", parser);
37  15 this.registerBeanDefinitionParser("comparison", parser);
38  15 this.registerBeanDefinitionParser("leftHandSide", parser);
39  15 this.registerBeanDefinitionParser("rightHandSide", parser);
40  15 this.registerBeanDefinitionParser("joinResultMapping", parser);
41   
42    }
43   
44    }