Package org.xwiki.rendering.parser
Interface ResourceReferenceParser
-
@Role public interface ResourceReferenceParser
Interface for parsing resource references (references to links, images, attachments, etc) for various wiki syntaxes.- Since:
- 2.5RC1
- Version:
- $Id: df338eabe485664d2e25fcc56f5a8e5fab4d349f $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceReference
parse(String rawReference)
Parses a resource reference represented (reference to a link, image, attachment, etc) as a String into aResourceReference
object.
-
-
-
Method Detail
-
parse
ResourceReference parse(String rawReference)
Parses a resource reference represented (reference to a link, image, attachment, etc) as a String into aResourceReference
object.- 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
-
-