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

java.lang.Object
  extended by org.xwiki.rendering.internal.parser.reference.XWiki20ImageReferenceParser
All Implemented Interfaces:
ResourceReferenceParser
Direct Known Subclasses:
GenericImageReferenceParser

@Component
@Named(value="xwiki/2.0/image")
@Singleton
public class XWiki20ImageReferenceParser
extends java.lang.Object
implements ResourceReferenceParser

Since:
2.5RC1
Version:
$Id$

Constructor Summary
XWiki20ImageReferenceParser()
           
 
Method Summary
 ResourceReference parse(java.lang.String rawReference)
          Parses a resource reference represented (reference to a link, image, attachment, etc) as a String into a ResourceReference object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XWiki20ImageReferenceParser

public XWiki20ImageReferenceParser()
Method Detail

parse

public ResourceReference parse(java.lang.String rawReference)
Parses a resource reference represented (reference to a link, image, attachment, etc) as a String into a ResourceReference object.

Specified by:
parse in interface ResourceReferenceParser
Parameters:
rawReference - the string representation of the resource reference to parse (the supported syntax depends on the parser implementation used)
Returns:
the parsed resource reference
See Also:
ResourceReferenceParser.parse(String)


Copyright © 2004-2011 XWiki. All Rights Reserved.