The Resource
is also an {@link Adaptable} to get adapters toother types. A JCR based resource might support adapting to the JCR Node on which the resource is based.
All implementations must support returning a value map from {@link #getValueMap()}, even if the map is empty.
Implementor's Note: It is recommended to not implement this interface directly. Rather consider either extending from {@link AbstractResource} or{@link ResourceWrapper}. This will make sure your implementation will not be suffering from missing method problems should the Sling Resource API be extended in the future.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|