org.xwiki.rendering.internal.parser.reference
Class AttachmentResourceReferenceTypeParser

java.lang.Object
  extended by org.xwiki.rendering.internal.parser.reference.AbstractURIResourceReferenceTypeParser
      extended by org.xwiki.rendering.internal.parser.reference.AttachmentResourceReferenceTypeParser
All Implemented Interfaces:
ResourceReferenceTypeParser

@Component
@Named(value="attach")
@Singleton
public class AttachmentResourceReferenceTypeParser
extends AbstractURIResourceReferenceTypeParser

Parses a resource reference to an attachment.

Since:
2.5RC1
Version:
$Id$

Constructor Summary
AttachmentResourceReferenceTypeParser()
           
 
Method Summary
 ResourceType getType()
          
 
Methods inherited from class org.xwiki.rendering.internal.parser.reference.AbstractURIResourceReferenceTypeParser
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentResourceReferenceTypeParser

public AttachmentResourceReferenceTypeParser()
Method Detail

getType

public ResourceType getType()

Returns:
the resource type (document, url, attachment, etc).
See Also:
ResourceReferenceTypeParser.getType()


Copyright © 2004-2011 XWiki. All Rights Reserved.