Revision 49184
Added by Sandro La Bruzzo over 6 years ago
DliToHbaseXsltFunctions.java | ||
---|---|---|
5 | 5 |
import java.util.List; |
6 | 6 |
|
7 | 7 |
import eu.dnetlib.data.proto.*; |
8 |
import eu.dnetlib.dli.resolver.model.ResolvedObject; |
|
8 |
import eu.dnetlib.dli.resolver.model.DLIResolvedObject;
|
|
9 | 9 |
import org.apache.commons.lang3.StringUtils; |
10 | 10 |
import org.w3c.dom.Node; |
11 | 11 |
import org.w3c.dom.NodeList; |
... | ... | |
105 | 105 |
final String namespacePrefix, |
106 | 106 |
final String type |
107 | 107 |
) { |
108 |
final ResolvedObject obj = new ResolvedObject();
|
|
108 |
final DLIResolvedObject obj = new DLIResolvedObject();
|
|
109 | 109 |
obj.setPid(pid); |
110 | 110 |
obj.setPidType(pidType); |
111 | 111 |
final String entityId = String.format("%s|%s::%s", type, namespacePrefix, obj.getIdentifier()); |
Also available in: Unified diff
Refactored Pid resolver