public class PropertySourcesPropertyValues extends Object implements org.springframework.beans.PropertyValues
PropertyValues
implementation backed by a PropertySources
, bridging
the two abstractions and allowing (for instance) a regular DataBinder
to be
used with the latter.Constructor and Description |
---|
PropertySourcesPropertyValues(org.springframework.core.env.PropertySources propertySources)
Create a new PropertyValues from the given PropertySources
|
Modifier and Type | Method and Description |
---|---|
org.springframework.beans.PropertyValues |
changesSince(org.springframework.beans.PropertyValues old) |
boolean |
contains(String propertyName) |
org.springframework.beans.PropertyValue |
getPropertyValue(String propertyName) |
org.springframework.beans.PropertyValue[] |
getPropertyValues() |
boolean |
isEmpty() |
public PropertySourcesPropertyValues(org.springframework.core.env.PropertySources propertySources)
propertySources
- a PropertySources instancepublic org.springframework.beans.PropertyValue[] getPropertyValues()
getPropertyValues
in interface org.springframework.beans.PropertyValues
public org.springframework.beans.PropertyValue getPropertyValue(String propertyName)
getPropertyValue
in interface org.springframework.beans.PropertyValues
public org.springframework.beans.PropertyValues changesSince(org.springframework.beans.PropertyValues old)
changesSince
in interface org.springframework.beans.PropertyValues
public boolean contains(String propertyName)
contains
in interface org.springframework.beans.PropertyValues
public boolean isEmpty()
isEmpty
in interface org.springframework.beans.PropertyValues
Copyright © 2013. All rights reserved.