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

java.lang.Object
  extended by org.xwiki.rendering.internal.parser.reference.XWiki20LinkReferenceParser
      extended by org.xwiki.rendering.internal.parser.reference.GenericLinkReferenceParser
All Implemented Interfaces:
ResourceReferenceParser

@Component
@Named(value="default/link")
@Singleton
public class GenericLinkReferenceParser
extends XWiki20LinkReferenceParser

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.

Since:
2.5RC1
Version:
$Id$

Field Summary
 
Fields inherited from class org.xwiki.rendering.internal.parser.reference.XWiki20LinkReferenceParser
ESCAPE_CHAR, SEPARATOR_ANCHOR, SEPARATOR_INTERWIKI, SEPARATOR_QUERYSTRING
 
Constructor Summary
GenericLinkReferenceParser()
           
 
Method Summary
protected  java.util.List<java.lang.String> getAllowedURIPrefixes()
          
 
Methods inherited from class org.xwiki.rendering.internal.parser.reference.XWiki20LinkReferenceParser
parse, parseElementAfterString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericLinkReferenceParser

public GenericLinkReferenceParser()
Method Detail

getAllowedURIPrefixes

protected java.util.List<java.lang.String> getAllowedURIPrefixes()

Overrides:
getAllowedURIPrefixes in class XWiki20LinkReferenceParser
Returns:
the list of URI prefixes the link parser recognizes
See Also:
XWiki20LinkReferenceParser.getAllowedURIPrefixes()


Copyright © 2004-2011 XWiki. All Rights Reserved.