T
- the type of the representation (eg a String)@Role
public interface PageAttachmentReferenceResolver<T>
PageAttachmentReference
object, ie with valid values and a valid hierarchy (eg an Attachment reference must have a parent which is a page
reference, reference values must not be null, etc).Modifier and Type | Field and Description |
---|---|
static ParameterizedType |
TYPE_REFERENCE
Type instance for
PageAttachmentReferenceResolver<EntityReference> . |
static ParameterizedType |
TYPE_STRING
Type instance for
PageAttachmentReferenceResolver<String> . |
Modifier and Type | Method and Description |
---|---|
PageAttachmentReference |
resolve(T attachmentReferenceRepresentation,
Object... parameters) |
static final ParameterizedType TYPE_STRING
PageAttachmentReferenceResolver<String>
.static final ParameterizedType TYPE_REFERENCE
PageAttachmentReferenceResolver<EntityReference>
.PageAttachmentReference 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.