T
- the type of the representation (e.g. a String)@Role
public interface PageObjectReferenceResolver<T>
PageObjectReference
object,
i.e. with valid values and a valid hierarchy (e.g. an Object reference must have a parent which is a document
reference, reference values must not be null, etc).Modifier and Type | Field and Description |
---|---|
static ParameterizedType |
TYPE_REFERENCE
Type instance for
PageObjectReferenceResolver<EntityReference> . |
static ParameterizedType |
TYPE_STRING
Type instance for
PageObjectReferenceResolver<String> . |
Modifier and Type | Method and Description |
---|---|
PageObjectReference |
resolve(T objectReferenceRepresentation,
Object... parameters) |
static final ParameterizedType TYPE_STRING
PageObjectReferenceResolver<String>
.static final ParameterizedType TYPE_REFERENCE
PageObjectReferenceResolver<EntityReference>
.PageObjectReference resolve(T objectReferenceRepresentation, Object... parameters)
objectReferenceRepresentation
- the representation of an object reference (e.g. as a String)parameters
- optional parameters. Their meaning depends on the resolver implementationCopyright © 2004–2021 XWiki. All rights reserved.