Class Navigation
- java.lang.Object
-
- org.silverpeas.core.web.mvc.webcomponent.Navigation
-
public class Navigation extends Object
Each method from Web Routers exposed must return an instance of this class, if no@Produce
or@RedirectTo...
annotation has been set. For now, it permits to specify the destination of the navigation.- Author:
- Yohann Chastagnier
-
-
Constructor Summary
Constructors Constructor Description Navigation(String destination)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDestination()
Gets the destination after the end of treatment of the web router.
-
-
-
Constructor Detail
-
Navigation
public Navigation(String destination)
Default constructor.- Parameters:
destination
- the destination after the end of treatment of the web router.
-
-
Method Detail
-
getDestination
public String getDestination()
Gets the destination after the end of treatment of the web router.- Returns:
- the destination.
-
-