|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.internal.parser.reference.DefaultImageReferenceParser
@Component @Named(value="image") @Singleton public class DefaultImageReferenceParser
Similar to DefaultResourceReferenceParser but handles the
case where the resource type wasn't specified. In this case it tries to guess the type by first looking for a URL
and then considering it's a reference to an attachment.
| Constructor Summary | |
|---|---|
DefaultImageReferenceParser()
|
|
| 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 |
|---|
public DefaultImageReferenceParser()
| Method Detail |
|---|
public ResourceReference parse(java.lang.String rawReference)
ResourceReference object.
parse in interface ResourceReferenceParserrawReference - the string representation of the resource reference to parse (the supported syntax depends
on the parser implementation used)
ResourceReferenceParser.parse(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||