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 and Description
    `ReturnNode()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract String` | `getFromOutcome(FacesContext context)` Return the `fromOutcome` to be used when control passes to this return node.

    - ### Methods inherited from class javax.faces.flow.FlowNode

      `getId`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ReturnNode

          public ReturnNode()

  - ### Method Detail

    - #### getFromOutcome

          public abstract String getFromOutcome(FacesContext context)

      Return the `fromOutcome` to be used when control passes to this return node.

      Parameters:
        `context` - the `FacesContext` for this request.
      Throws:
        `NullPointerException` - if `context` is `null`.
      Since:
        2.2

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.