1 | |
package org.kuali.rice.kim.api.type; |
2 | |
|
3 | |
import org.apache.commons.lang.StringUtils; |
4 | |
import org.kuali.rice.kim.util.KimConstants; |
5 | |
|
6 | |
import javax.xml.namespace.QName; |
7 | |
|
8 | |
public final class KimTypeUtils { |
9 | |
|
10 | 0 | private KimTypeUtils() { |
11 | 0 | throw new UnsupportedOperationException("do not call"); |
12 | |
} |
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
public static QName resolveKimTypeServiceName(String kimTypeServiceName) { |
23 | 0 | if (StringUtils.isBlank(kimTypeServiceName)) { |
24 | 0 | return QName.valueOf(KimConstants.DEFAULT_KIM_TYPE_SERVICE); |
25 | |
} |
26 | 0 | return QName.valueOf(kimTypeServiceName); |
27 | |
} |
28 | |
} |