Class DefaultValueResolverImpl
java.lang.Object
ch.tocco.nice2.model.base.impl.defaultvalue.DefaultValueResolverImpl
- All Implemented Interfaces:
DefaultValueResolver
-
Constructor Summary
-
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 valuevoid
-
Constructor Details
-
DefaultValueResolverImpl
public DefaultValueResolverImpl()
-
-
Method Details
-
resolve
Description copied from interface:DefaultValueResolver
Resolves the given default value- Specified by:
resolve
in interfaceDefaultValueResolver
- Parameters:
defaultValue
- the default value that is to resolve- Throws:
ResolvingException
- if no resolver is available for the given default value
-
isResolvable
Description copied from interface:DefaultValueResolver
Checks whether the specified default value content (from the xml file) is a valid to be resolved by this resolver.- Specified by:
isResolvable
in interfaceDefaultValueResolver
- Throws:
NoResolverException
-
isResolverAvailable
Description copied from interface:DefaultValueResolver
Checks whether there is a resolver available for the given default value type.- Specified by:
isResolverAvailable
in interfaceDefaultValueResolver
-
setDefaultValueStrategies
-