|
ColdSpring 2.0 - Narwhal | ||||
FRAMES |
WEB-INF.cftags.component coldspring.beans.factory.PropertyStringResolver
public class PropertyStringResolver
String resolver for Dynamic Properties
Constructor Summary | |
---|---|
init(struct dynamicProperties)
Constructor |
Method Summary | |
---|---|
struct |
getDynamicProperties()
|
private string |
getPropertyRegex()
|
private string |
replacePropertyValues(array propertyStrings, string value)
Given the set of properties being passed through, the value string has it's ${key}'s' replaced |
private void |
resolveRecursiveProperties()
goes through the current dynamic properties, and resolves any recursiveness |
any |
resolveStringValue(string string)
Resolves ${key} into it's given property |
private void |
setDynamicProperties(struct dynamicProperties)
|
private void |
setPropertyRegex(string propertyRegex)
|
Methods inherited from class WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init(struct dynamicProperties)
dynamicProperties
- A struct of key value pairs, for which the keys will be used to translate '${key}' string values in BeanDefinitions properties into their corresponding values.Method Detail |
---|
public struct getDynamicProperties()
private string getPropertyRegex()
private string replacePropertyValues(array propertyStrings, string value)
propertyStrings
- an array of property strings as ${key}value
- the string value to replace the values inprivate void resolveRecursiveProperties()
public any resolveStringValue(string string)
resolveStringValue
in interface
StringValueResolver
string
private void setDynamicProperties(struct dynamicProperties)
dynamicProperties
private void setPropertyRegex(string propertyRegex)
propertyRegex
|
ColdSpring 2.0 - Narwhal | ||||
FRAMES |