Package org.xwiki.skin
Interface ResourceRepository
-
- All Known Subinterfaces:
Skin
public interface ResourceRepository
- Since:
- 7.0M1
- Version:
- $Id: e94480422ba8127e9968e52e0ec4b43a25af39c9 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getId()
Resource<?>
getLocalResource(String resourceName)
Get the resource associated to the provided name.ResourceRepository
getParent()
Resource<?>
getResource(String resourceName)
Get the resource associated to the provided name.
-
-
-
Method Detail
-
getParent
ResourceRepository getParent()
- Returns:
- the parent of the resource repository used to fallback
-
getId
String getId()
- Returns:
- the identifier of the repository
-
getResource
Resource<?> getResource(String resourceName)
Get the resource associated to the provided name. If none is found in the resource repository fallback on parent repository.- Parameters:
resourceName
- the name of the resource to search- Returns:
- the found resource, null if none could be found
-
-