javax.faces.application
Class NavigationCase

java.lang.Object
  extended by javax.faces.application.NavigationCase
All Implemented Interfaces:
Cloneable

public class NavigationCase
extends Object
implements Cloneable

NavigationCase represents a <navigation-case> in the navigation rule base, as well as the <from-view-id> inside which this <navigation-case> is nested.

Since:
2.0

Constructor Summary
NavigationCase(NavigationCase other)
           
NavigationCase(String fromViewId, String fromAction, String fromOutcome, String toViewId, boolean redirect)
           
 
Method Summary
protected  Object clone()
           
 String getFromAction()
          

Return the <from-action> for this <navigation-case>

 String getFromOutcome()
          

Return the <from-outcome> for this <navigation-case>

 String getFromViewId()
          

Return the <from-view-id> of the <navigation-rule> inside which this <navigation-case> is nested.

 String getToViewId()
          

Return the <to-view-id> for this <navigation-case>

 boolean isRedirect()
          

Return the <redirect> value for this <navigation-case>

 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NavigationCase

public NavigationCase(String fromViewId,
                      String fromAction,
                      String fromOutcome,
                      String toViewId,
                      boolean redirect)

NavigationCase

public NavigationCase(NavigationCase other)
Method Detail

clone

protected Object clone()
                throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException

getFromViewId

public String getFromViewId()

Return the <from-view-id> of the <navigation-rule> inside which this <navigation-case> is nested.

Since:
2.0

getFromAction

public String getFromAction()

Return the <from-action> for this <navigation-case>

Since:
2.0

getFromOutcome

public String getFromOutcome()

Return the <from-outcome> for this <navigation-case>

Since:
2.0

getToViewId

public String getToViewId()

Return the <to-view-id> for this <navigation-case>

Since:
2.0

isRedirect

public boolean isRedirect()

Return the <redirect> value for this <navigation-case>

Since:
2.0

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2008 Sun Microsystems, Inc. All Rights Reserved.