org.slim3.controller
Class Navigation

java.lang.Object
  extended by org.slim3.controller.Navigation

public class Navigation
extends Object

This class represents where to go.

Since:
1.0.0
Author:
higa

Field Summary
protected  String path
          The application-relative path.
protected  boolean redirect
          Whether this navigation is "redirect".
 
Constructor Summary
Navigation(String path, boolean redirect)
          Constructor.
 
Method Summary
 String getPath()
          Returns the application-relative path.
 boolean isRedirect()
          Determines if this navigation is "redirect".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

path

protected String path
The application-relative path.


redirect

protected boolean redirect
Whether this navigation is "redirect".

Constructor Detail

Navigation

public Navigation(String path,
                  boolean redirect)
           throws NullPointerException
Constructor.

Parameters:
path - the application-relative path
redirect - whether this navigation is "redirect"
Throws:
NullPointerException - if the path parameter is null
Method Detail

getPath

public String getPath()
Returns the application-relative path.

Returns:
the application-relative path

isRedirect

public boolean isRedirect()
Determines if this navigation is "redirect".

Returns:
whether this navigation is "redirect"


Copyright © 2009-2010 The Slim3 project. All Rights Reserved.