T
- the type of the representation (eg a String)@Role
public interface SpaceReferenceResolver<T>
SpaceReference
object, ie with
valid values and a valid hierarchy (eg a Space reference must have a parent which is a space reference or a wiki
reference, reference values must not be null, etc).Modifier and Type | Field and Description |
---|---|
static ParameterizedType |
TYPE_REFERENCE
Type instance for
SpaceReferenceResolver<EntityReference> . |
static ParameterizedType |
TYPE_STRING
Type instance for
SpaceReferenceResolver<String> . |
Modifier and Type | Method and Description |
---|---|
SpaceReference |
resolve(T spaceReferenceRepresentation,
Object... parameters) |
static final ParameterizedType TYPE_STRING
SpaceReferenceResolver<String>
.static final ParameterizedType TYPE_REFERENCE
SpaceReferenceResolver<EntityReference>
.SpaceReference resolve(T spaceReferenceRepresentation, Object... parameters)
spaceReferenceRepresentation
- the representation of a space reference (eg as a String)parameters
- optional parameters. Their meaning depends on the resolver implementationCopyright © 2004–2021 XWiki. All rights reserved.