javax.faces.flow
Class SwitchCase

java.lang.Object
  extended by javax.faces.flow.SwitchCase

public abstract class SwitchCase
extends Object

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

Since:
2.2

Constructor Summary
SwitchCase()
           
 
Method Summary
abstract  Boolean getCondition(FacesContext context)
          

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

abstract  String getFromOutcome()
          

Return the outcome to be used if getCondition(javax.faces.context.FacesContext) return true.

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

Constructor Detail

SwitchCase

public SwitchCase()
Method Detail

getFromOutcome

public abstract String getFromOutcome()

Return the outcome to be used if getCondition(javax.faces.context.FacesContext) return true.

Since:
2.2

getCondition

public abstract Boolean getCondition(FacesContext context)

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

Since:
2.2


Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms