T
- the type of the representation (e.g. a String)@Role
public interface ObjectReferenceResolver<T>
ObjectReference
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
ObjectReferenceResolver<EntityReference> . |
static ParameterizedType |
TYPE_STRING
Type instance for
ObjectReferenceResolver<String> . |
Modifier and Type | Method and Description |
---|---|
ObjectReference |
resolve(T objectReferenceRepresentation)
Deprecated.
|
ObjectReference |
resolve(T objectReferenceRepresentation,
Object... parameters) |
static final ParameterizedType TYPE_STRING
ObjectReferenceResolver<String>
.static final ParameterizedType TYPE_REFERENCE
ObjectReferenceResolver<EntityReference>
.@Deprecated ObjectReference resolve(T objectReferenceRepresentation)
objectReferenceRepresentation
- the representation of an object reference (e.g. as a String)ObjectReference 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–2022 XWiki. All rights reserved.