log.error("A 'pattern' property of a ValueProcessor is not a "
+ "Literal! Skipping this result.");
return null;
}
String pattern = patternNode.asLiteral().getLexicalForm();
String result = pattern.replace("$DSpaceValue", value);
log.debug("Found pattern " + pattern + ".\n"
+ "Created result: " + result);
return result;
}