Top Description Constructors Methods
javax.faces.flow

public abstract Class SwitchCase

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.faces.flow.SwitchCaseImpl
Imports
javax.faces.context.FacesContext

Represents a case within a switch node in the flow graph. See SwitchNode.

Since
2.2

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract Boolean

Returns:

a value indicating whether or not this condition should be taken
getCondition
(FacesContext
the FacesContext for the current request.
context
)

Return true if this case should be taken, false otherwise.

public abstract String

Returns:

the outcome
getFromOutcome
()

Return the outcome to be used if getCondition return true.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SwitchCaseback to summary
public SwitchCase()

Method Detail

getConditionback to summary
public abstract Boolean getCondition(FacesContext context)

Return true if this case should be taken, false otherwise.

Parameters
context:FacesContext

the FacesContext for the current request.

Returns:Boolean

a value indicating whether or not this condition should be taken

Since
2.2
getFromOutcomeback to summary
public abstract String getFromOutcome()

Return the outcome to be used if getCondition return true.

Returns:String

the outcome

Since
2.2