|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.internal.parser.reference.GenericImageReferenceParser
@Component @Named(value="default/image") @Singleton public class GenericImageReferenceParser
Each syntax should have its own resource reference parser. However while we wait for syntax specific parser to be implemented this generic parser should provide a good approximation.
| Constructor Summary | |
|---|---|
GenericImageReferenceParser()
|
|
| 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 GenericImageReferenceParser()
| 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 | |||||||||