- if (specAttr instanceof ResourceSpecAttribute) {
- // deal with resources
- Resource resource = resourceLoader.getResource(paramValue
- .toString());
- return ((ResourceSpecAttribute) specAttr)
- .convertResource(resource);
- } else {
- return paramValue;
- }