org.xwiki.url
Interface XWikiURLFactory<T>
- Type Parameters:
T - the object to transform into a XWiki URL
@ComponentRole
public interface XWikiURLFactory<T>
Transforms some representation of an XWiki URL into a XWikiURL instance.
- Version:
- $Id: 57c6b61886ccb4b93031f34de2d2e10756a57c25 $
createURL
XWikiURL createURL(T urlRepresentation,
Map<String,Object> parameters)
throws InvalidURLException
- Transforms some representation of a XWiki URL into a
XWikiURL instance.
- Parameters:
urlRepresentation - the object to transform into a XWikiURL instanceparameters - generic parameters that depend on the underlying implementation. In order to know what to
pass you need to check the documentation for the implementation you're using.
- Returns:
- the
XWikiURL instance
- Throws:
InvalidURLException - if the input representation doesn't represent a valid XWiki URL
Copyright © 2004-2013 XWiki. All Rights Reserved.