Interface DefaultValueResolver
- All Known Implementing Classes:
DefaultValueResolverImpl
public interface DefaultValueResolver
Resolves the given default value as specified in the xml configuration to the
concrete value.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isResolvable
(DefaultValueDescriptor descriptor) Checks whether the specified default value content (from the xml file) is a valid to be resolved by this resolver.boolean
isResolverAvailable
(String type) Checks whether there is a resolver available for the given default value type.resolve
(DefaultValueDescriptor defaultValue) Resolves the given default value
-
Method Details
-
resolve
Resolves the given default value- Parameters:
defaultValue
- the default value that is to resolve- Throws:
ResolvingException
- if no resolver is available for the given default value
-
isResolverAvailable
Checks whether there is a resolver available for the given default value type. -
isResolvable
Checks whether the specified default value content (from the xml file) is a valid to be resolved by this resolver.- Throws:
NoResolverException
-