com.atlassian.confluence.content.render.xhtml.model.resource.identifiers
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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpaceResourceIdentifierResolver
public SpaceResourceIdentifierResolver(SpaceManager spaceManager)
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 interface ResourceIdentifierResolver<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.