public class ViewStateImpl extends AbstractState implements ViewState
ViewStateImpl
is a basic implementation of
ViewState
.
Constructor and Description |
---|
ViewStateImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getViewId()
Return the view identifier of the JavaServer Faces view to render
if this state is entered.
|
boolean |
isRedirect()
Return
true if the transition to this view should
be done with a redirect, instead of the normal view creation process. |
void |
setRedirect(boolean redirect)
Set the redirect flag for this state.
|
void |
setViewId(String viewId)
Set the view identifier of the JavaServer Faces view to render
if this state is entered.
|
String |
toString()
Render a printable version of this instance.
|
addTransition, findTransition, getDialog, getName, getTransitionOutcomes, removeTransition, setDialog, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findTransition, getDialog, getName, getTransitionOutcomes
public boolean isRedirect()
Return true
if the transition to this view should
be done with a redirect, instead of the normal view creation process.
isRedirect
in interface ViewState
public String getViewId()
Return the view identifier of the JavaServer Faces view to render if this state is entered.
public String toString()
Render a printable version of this instance.
public void setRedirect(boolean redirect)
Set the redirect flag for this state.
redirect
- The new redirect flagpublic void setViewId(String viewId)
Set the view identifier of the JavaServer Faces view to render if this state is entered.
viewId
- The new view identifierCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.