|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.config.java.valuesource.AbstractStringBasedValueResolver
public abstract class AbstractStringBasedValueResolver
Base class for use by all ValueResolver implementations that will return String.
getString(String)| Constructor Summary | |
|---|---|
AbstractStringBasedValueResolver()
|
|
| Method Summary | ||
|---|---|---|
abstract java.lang.String |
getString(java.lang.String name)
Return value associated with name. |
|
|
resolve(java.lang.String name,
java.lang.Class<?> requiredType)
Return value associated with name, where value is of type requiredType. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractStringBasedValueResolver()
| Method Detail |
|---|
public <T> T resolve(java.lang.String name,
java.lang.Class<?> requiredType)
throws ValueResolutionException
getString(String).
resolve in interface ValueResolvername - name of the value to resolverequiredType - work around Java type erasure
ValueResolutionException - if the value is not of the required format or the
value associated with name is not found
public abstract java.lang.String getString(java.lang.String name)
throws ValueResolutionException
ValueResolutionException - if name cannot be found within this
ValueResolver - it is incumbent upon all subclasses
to adhere to these semantics.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||