org.apache.myfaces.flow
Class SwitchNodeImpl

java.lang.Object
  extended by javax.faces.flow.FlowNode
      extended by javax.faces.flow.SwitchNode
          extended by org.apache.myfaces.flow.SwitchNodeImpl
All Implemented Interfaces:
Freezable

public class SwitchNodeImpl
extends SwitchNode
implements Freezable

Since:
2.2
Author:
Leonardo Uribe

Constructor Summary
SwitchNodeImpl(String switchNodeId)
           
 
Method Summary
 void addCase(SwitchCase switchCase)
           
 void freeze()
          Call this method when the object will be made available to the runtime
 List<SwitchCase> getCases()
           
 String getDefaultOutcome(FacesContext context)
           
 String getId()
           
 void setDefaultOutcome(String defaultOutcome)
           
 void setDefaultOutcome(javax.el.ValueExpression defaultOutcome)
           
 void setId(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwitchNodeImpl

public SwitchNodeImpl(String switchNodeId)
Method Detail

getCases

public List<SwitchCase> getCases()
Specified by:
getCases in class SwitchNode

addCase

public void addCase(SwitchCase switchCase)

getDefaultOutcome

public String getDefaultOutcome(FacesContext context)
Specified by:
getDefaultOutcome in class SwitchNode

getId

public String getId()
Specified by:
getId in class FlowNode

freeze

public void freeze()
Description copied from interface: Freezable
Call this method when the object will be made available to the runtime

Specified by:
freeze in interface Freezable

setDefaultOutcome

public void setDefaultOutcome(String defaultOutcome)

setDefaultOutcome

public void setDefaultOutcome(javax.el.ValueExpression defaultOutcome)

setId

public void setId(String id)


Copyright © 2014 The Apache Software Foundation. All rights reserved.