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