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