Package javax.faces.flow
Class ReturnNode
- java.lang.Object
-
- javax.faces.flow.FlowNode
-
- javax.faces.flow.ReturnNode
-
public abstract class ReturnNode extends FlowNode
Represents a return node in the flow graph. When control passes to a return node, its
getFromOutcome(javax.faces.context.FacesContext)
is called to determine the next node in the flow graph.- Since:
- 2.2
-
-
Constructor Summary
Constructors Constructor Description ReturnNode()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.lang.String
getFromOutcome(FacesContext context)
Return thefromOutcome
to be used when control passes to this return node.
-
-
-
Method Detail
-
getFromOutcome
public abstract java.lang.String getFromOutcome(FacesContext context)
Return the
fromOutcome
to be used when control passes to this return node.- Parameters:
context
- theFacesContext
for this request.- Returns:
- the
fromOutcome
- Throws:
java.lang.NullPointerException
- ifcontext
isnull
.- Since:
- 2.2
-
-