Class AbstractResourceLinkResolver
- java.lang.Object
-
- org.onehippo.cms7.crisp.api.resource.AbstractResourceLinkResolver
-
- All Implemented Interfaces:
ResourceLinkResolver
public abstract class AbstractResourceLinkResolver extends Object implements ResourceLinkResolver
AbstractResourceLinkResolver
base class.
-
-
Constructor Summary
Constructors Constructor Description AbstractResourceLinkResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLink
resolve(Resource resource)
Resolves aResourceLink
for the givenresource
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.onehippo.cms7.crisp.api.resource.ResourceLinkResolver
resolve
-
-
-
-
Method Detail
-
resolve
public ResourceLink resolve(Resource resource) throws ResourceException
Resolves aResourceLink
for the givenresource
.- Specified by:
resolve
in interfaceResourceLinkResolver
- Parameters:
resource
- resource representation- Returns:
- a
ResourceLink
for the givenresource
- Throws:
ResourceException
- if resource resolution operation fails
-
-