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 |
---|---|
java.lang.Object |
getAt(java.util.List<?> keyAndArgs)
Try to resolve the resource.
|
java.lang.Object |
getAt(java.lang.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 java.lang.Object getAt(@Nonnull java.lang.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 java.lang.Object getAt(@Nonnull java.util.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