Revision 44352
Added by Sandro La Bruzzo over 7 years ago
ResolvedObject.java | ||
---|---|---|
183 | 183 |
if (pidType == null || StringUtils.isBlank(pidType) || pid == null || StringUtils.isBlank(pid)) |
184 | 184 |
return "#"; |
185 | 185 |
|
186 |
if (AbstractPIDResolver.resolvedTypes.containsKey(pidType)) return String.format(AbstractPIDResolver.resolvedTypes.get(pidType), getEscapedXMLPid()); |
|
186 |
if (AbstractPIDResolver.resolvedTypes.containsKey(pidType.toLowerCase())) |
|
187 |
return String.format(AbstractPIDResolver.resolvedTypes.get(pidType.toLowerCase()), getEscapedXMLPid()); |
|
187 | 188 |
|
188 | 189 |
return "#"; |
189 | 190 |
} |
... | ... | |
423 | 424 |
public void setDescription(final String description) { |
424 | 425 |
this.description = description; |
425 | 426 |
} |
427 |
|
|
428 |
public String getEscapedDescription() { |
|
429 |
return StringEscapeUtils.escapeXml11(description); |
|
430 |
} |
|
426 | 431 |
} |
Also available in: Unified diff
fixed bug