Coverage Report - org.kuali.rice.kim.util.KimCommonUtils
 
Classes in this File Line Coverage Branch Coverage Complexity
KimCommonUtils
0%
0/4
0%
0/2
3
 
 1  
 package org.kuali.rice.kim.util;
 2  
 
 3  
 import org.apache.commons.lang.StringUtils;
 4  
 
 5  
 import javax.xml.namespace.QName;
 6  
 
 7  0
 public class KimCommonUtils {
 8  
     /**
 9  
      * Resolves the given kim type service name represented as a String to the appropriate QName.
 10  
      * If the value given is empty or null, then it will resolve to the default KimTypeService name.
 11  
      */
 12  
     public static QName resolveKimTypeServiceName(String kimTypeServiceName) {
 13  0
         if (StringUtils.isBlank(kimTypeServiceName)) {
 14  0
             return resolveKimTypeServiceName(KimConstants.DEFAULT_KIM_TYPE_SERVICE);
 15  
         }
 16  0
         return QName.valueOf(kimTypeServiceName);
 17  
     }
 18  
 }