public class PlaceholderResolvingStringValueResolver extends Object implements org.springframework.util.StringValueResolver
parseStringValue method of the containing class.| Constructor and Description |
|---|
PlaceholderResolvingStringValueResolver(String placeholderPrefix,
String placeholderSuffix,
boolean ignoreUnresolvablePlaceholders,
String nullValue,
Map<String,Object> attributes) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
parseStringValue(String strVal,
Map<String,Object> attributes,
Set<String> visitedPlaceholders)
Parse the given String value recursively, to be able to resolve nested
placeholders (when resolved property values in turn contain placeholders
again).
|
String |
resolveStringValue(String strVal) |
protected String parseStringValue(String strVal, Map<String,Object> attributes, Set<String> visitedPlaceholders) throws org.springframework.beans.factory.BeanDefinitionStoreException
strVal - the String value to parseprops - the Properties to resolve placeholders againstvisitedPlaceholders - the placeholders that have already been visited
during the current resolution attempt (used to detect circular
references between placeholders). Only non-null if we're parsing a
nested placeholder.org.springframework.beans.factory.BeanDefinitionStoreException - if invalid values are encountered#resolvePlaceholder(String, java.util.Properties, int)Copyright © 2015 Revolution Systems Inc.. All rights reserved.