org.xwiki.model.internal.reference
Class ExplicitStringAttachmentReferenceResolver
java.lang.Object
org.xwiki.model.internal.reference.ExplicitStringAttachmentReferenceResolver
- All Implemented Interfaces:
- AttachmentReferenceResolver<String>
@Component
@Named(value="explicit")
@Singleton
public class ExplicitStringAttachmentReferenceResolver
- extends Object
- implements AttachmentReferenceResolver<String>
Specialized version of EntityReferenceResolver
which can be considered a helper
component to resolve AttachmentReference
objects from their string representation.
The behavior is the one defined in ExplicitStringEntityReferenceResolver
.
- Since:
- 3.0M1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExplicitStringAttachmentReferenceResolver
public ExplicitStringAttachmentReferenceResolver()
resolve
public AttachmentReference resolve(String attachmentReferenceRepresentation,
Object... parameters)
- Specified by:
resolve
in interface AttachmentReferenceResolver<String>
- Parameters:
attachmentReferenceRepresentation
- the representation of an attachment reference (eg as a String)parameters
- optional parameters. Their meaning depends on the resolver implementation
- Returns:
- the valid resolved attachment reference as an Object