org.xwiki.url.standard
Interface XWikiURLBuilder

All Known Implementing Classes:
EntityXWikiURLBuilder

@ComponentRole
public interface XWikiURLBuilder

Since:
2.3M1
Version:
$Id$

Method Summary
 XWikiURL build(WikiReference wikiReference, java.util.List<java.lang.String> pathSegments)
          Builds a XWikiURL object from the passed URL path segments.
 

Method Detail

build

XWikiURL build(WikiReference wikiReference,
               java.util.List<java.lang.String> pathSegments)
Builds a XWikiURL object from the passed URL path segments.

Parameters:
wikiReference - the wiki reference part of the
pathSegments - the URL path segments (ie the parts separated by forward slashes in the URL) but starting at the action segment part (e.g. List of ("view", "Space", "Page") for "/view/Space/Page")
Returns:
the XWikiURL object


Copyright © 2004-2011 XWiki. All Rights Reserved.