Class SpaceResourceIdentifierResolver
java.lang.Object
com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifierResolver
- All Implemented Interfaces:
ResourceIdentifierResolver<SpaceResourceIdentifier,
Space>
public class SpaceResourceIdentifierResolver
extends Object
implements ResourceIdentifierResolver<SpaceResourceIdentifier,Space>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolve
(SpaceResourceIdentifier resourceIdentifier, ConversionContext conversionContext) Resolves a SpaceResourceIdentifier to a Space if a Space for the given spacekey exists.
-
Constructor Details
-
SpaceResourceIdentifierResolver
-
-
Method Details
-
resolve
public Space resolve(SpaceResourceIdentifier resourceIdentifier, ConversionContext conversionContext) throws CannotResolveResourceIdentifierException Resolves a SpaceResourceIdentifier to a Space if a Space for the given spacekey exists.- Specified by:
resolve
in interfaceResourceIdentifierResolver<SpaceResourceIdentifier,
Space> - Parameters:
resourceIdentifier
- The SpaceResourceIdentifier that will be used to resolve the SpaceconversionContext
- Not used in this impl- Returns:
- A Space if one can be resolved from the SpaceManager, null otherwise.
- Throws:
CannotResolveResourceIdentifierException
- If the spacekey in the supplied SpaceResourceIdentifier is null.
-