public static String resolveOrOriginal ( String input ) { try { return resolve ( input , true ) ; } catch ( UnresolvedExpressionException e ) { return input ; } }
Attempts to substitute all the found expressions in the input with their corresponding resolved values . If any of the found expressions failed to resolve or if the input does not contain any expression the input is returned as is .