public class DefaultGroovyAwareResourceResolver extends ResourceResolverDecorator implements GroovyAwareResourceResolver
REF_KEY_END, REF_KEY_START
Constructor and Description |
---|
DefaultGroovyAwareResourceResolver(ResourceResolver delegate) |
Modifier and Type | Method and Description |
---|---|
Object |
getAt(List<?> keyAndArgs)
Try to resolve the resource.
|
Object |
getAt(String key)
Try to resolve the resource.
|
convertValue, formatResource, formatResource, formatResource, getDelegate, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
formatResource, formatResource, formatResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceConverted, resolveResourceValue
public DefaultGroovyAwareResourceResolver(@Nonnull ResourceResolver delegate)
@Nonnull public Object getAt(@Nonnull String key) throws NoSuchResourceException
GroovyAwareResourceResolver
getAt
in interface GroovyAwareResourceResolver
key
- Key to lookup, such as 'sample.SampleModel.icon'NoSuchResourceException
- if no resource is found@Nonnull public Object getAt(@Nonnull List<?> keyAndArgs) throws NoSuchResourceException
GroovyAwareResourceResolver
getAt
in interface GroovyAwareResourceResolver
keyAndArgs
- Key to lookup, such as 'sample.SampleModel.icon' and arguments
that will be filled in for params within the resource (params look like "{0}" within a
resource, but this might differ between implementations), or null if none.NoSuchResourceException
- if no resource is found