Top Fields Constructors Methods
com.sun.faces.flow.builder

public Class SwitchBuilderImpl

extends SwitchBuilder
Class Inheritance
Imports
com.sun.faces.flow.SwitchNodeImpl, com.sun.faces.util.Util, javax.el.ValueExpression, javax.faces.flow.builder.SwitchBuilder, .SwitchCaseBuilder

Field Summary

Modifier and TypeField and Description
private FlowBuilderImpl
private SwitchCaseBuilderImpl
private String
private SwitchNodeImpl

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public SwitchCaseBuilder
defaultOutcome(String
A ValueExpression String that will be the default outcome of the switch.
outcome
)

Implements abstract javax.faces.flow.builder.SwitchBuilder.defaultOutcome.

Set the default outcome of the current switch.

public SwitchCaseBuilder
defaultOutcome(ValueExpression
A ValueExpression that will be the default outcome of the switch.
outcome
)

Implements abstract javax.faces.flow.builder.SwitchBuilder.defaultOutcome.

Set the default outcome of the current switch.

pack-priv FlowBuilderImpl
pack-priv SwitchNodeImpl
public SwitchBuilderImpl
markAsStartNode()

Implements abstract javax.faces.flow.builder.SwitchBuilder.markAsStartNode.

Implements javax.faces.flow.builder.NodeBuilder.markAsStartNode.

Mark this node as the start node in the flow.

public SwitchCaseBuilder
switchCase()

Implements abstract javax.faces.flow.builder.SwitchBuilder.switchCase.

Create a switch case in the current switch.

Field Detail

rootback to summary
private FlowBuilderImpl root
switchCaseBuilderback to summary
private SwitchCaseBuilderImpl switchCaseBuilder
switchIdback to summary
private String switchId
switchNodeback to summary
private SwitchNodeImpl switchNode

Constructor Detail

SwitchBuilderImplback to summary
pack-priv SwitchBuilderImpl(FlowBuilderImpl root, String id)

Method Detail

defaultOutcomeback to summary
public SwitchCaseBuilder defaultOutcome(String outcome)

Implements abstract javax.faces.flow.builder.SwitchBuilder.defaultOutcome.

Doc from javax.faces.flow.builder.SwitchBuilder.defaultOutcome.

Set the default outcome of the current switch.

Parameters
outcome:String

A ValueExpression String that will be the default outcome of the switch.

Returns:SwitchCaseBuilder

the builder instance

Annotations
@Override
defaultOutcomeback to summary
public SwitchCaseBuilder defaultOutcome(ValueExpression outcome)

Implements abstract javax.faces.flow.builder.SwitchBuilder.defaultOutcome.

Doc from javax.faces.flow.builder.SwitchBuilder.defaultOutcome.

Set the default outcome of the current switch.

Parameters
outcome:ValueExpression

A ValueExpression that will be the default outcome of the switch.

Returns:SwitchCaseBuilder

the builder instance

Annotations
@Override
getRootback to summary
pack-priv FlowBuilderImpl getRoot()
getSwitchNodeback to summary
pack-priv SwitchNodeImpl getSwitchNode()
markAsStartNodeback to summary
public SwitchBuilderImpl markAsStartNode()

Implements abstract javax.faces.flow.builder.SwitchBuilder.markAsStartNode.

Implements javax.faces.flow.builder.NodeBuilder.markAsStartNode.

Doc from javax.faces.flow.builder.NodeBuilder.markAsStartNode.

Mark this node as the start node in the flow. Any other node that had been marked as the start node will no longer be the start node.

Returns:SwitchBuilderImpl

the builder instance

Annotations
@Override
switchCaseback to summary
public SwitchCaseBuilder switchCase()

Implements abstract javax.faces.flow.builder.SwitchBuilder.switchCase.

Doc from javax.faces.flow.builder.SwitchBuilder.switchCase.

Create a switch case in the current switch.

Returns:SwitchCaseBuilder

the builder instance

Annotations
@Override