org.xwiki.bridge
Interface AttachmentNameFactory

All Known Implementing Classes:
DefaultAttachmentNameFactory

Deprecated. use AttachmentReferenceResolver instead since 2.2M1

@ComponentRole
@Deprecated
public interface AttachmentNameFactory

Generate an Attachment Name from a raw string reference. The exact format of the reference depends on the implementation used. For example see DefaultAttachmentNameFactory.

Since:
2.0RC1
Version:
$Id$

Method Summary
 AttachmentName createAttachmentName(java.lang.String reference)
          Deprecated.  
 

Method Detail

createAttachmentName

AttachmentName createAttachmentName(java.lang.String reference)
Deprecated. 
Parameters:
reference - the attachment's name as a string using a textual format (eg wiki:space.page@attachment). The supported format is up to implementers of this method.
Returns:
the object representing an attachment reference


Copyright © 2004-2011 XWiki. All Rights Reserved.