org.xwiki.model.internal.reference
Class ExplicitStringAttachmentReferenceResolver

java.lang.Object
  extended by org.xwiki.model.internal.reference.ExplicitStringAttachmentReferenceResolver
All Implemented Interfaces:
AttachmentReferenceResolver<java.lang.String>

@Component(value="explicit")
public class ExplicitStringAttachmentReferenceResolver
extends java.lang.Object
implements AttachmentReferenceResolver<java.lang.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
Version:
$Id$

Constructor Summary
ExplicitStringAttachmentReferenceResolver()
           
 
Method Summary
 AttachmentReference resolve(java.lang.String attachmentReferenceRepresentation, java.lang.Object... parameters)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExplicitStringAttachmentReferenceResolver

public ExplicitStringAttachmentReferenceResolver()
Method Detail

resolve

public AttachmentReference resolve(java.lang.String attachmentReferenceRepresentation,
                                   java.lang.Object... parameters)

Specified by:
resolve in interface AttachmentReferenceResolver<java.lang.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
See Also:
AttachmentReferenceResolver.resolve(T, java.lang.Object...)


Copyright © 2004-2011 XWiki. All Rights Reserved.