T
- the type of the representation (eg a String)@Role
public interface DocumentReferenceResolver<T>
DocumentReference
object, ie
with valid values and a valid hierarchy (eg a Document 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
DocumentReferenceResolver<EntityReference> . |
static ParameterizedType |
TYPE_STRING
Type instance for
DocumentReferenceResolver<String> . |
Modifier and Type | Method and Description |
---|---|
DocumentReference |
resolve(T documentReferenceRepresentation,
Object... parameters) |
static final ParameterizedType TYPE_STRING
DocumentReferenceResolver<String>
.static final ParameterizedType TYPE_REFERENCE
DocumentReferenceResolver<EntityReference>
.DocumentReference resolve(T documentReferenceRepresentation, Object... parameters)
documentReferenceRepresentation
- the representation of a document reference (eg as a String)parameters
- optional parameters. Their meaning depends on the resolver implementationCopyright © 2004–2021 XWiki. All rights reserved.