Package org.apache.tapestry5.corelib.internal

## Class ComponentActionSink

- java.lang.Object
- - org.apache.tapestry5.corelib.internal.ComponentActionSink

-     public class ComponentActionSink
      extends Object

  Used to collection component actions, with the ultimate goal being the creation of a MIME-encoded string of the serialization of those actions.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ComponentActionSink​(org.slf4j.Logger logger, ClientDataEncoder encoder)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getClientData()` |
    `boolean` | `isEmpty()` |
    `<T> void` | `store​(T component, ComponentAction<T> action)` |
    `<T> void` | `storeCancel​(T component, ComponentAction<T> action)` |

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

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

- - ### Constructor Detail

    - #### ComponentActionSink

          public ComponentActionSink​(org.slf4j.Logger logger,
                                     ClientDataEncoder encoder)

  - ### Method Detail

    - #### store

          public <T> void store​(T component,
                                ComponentAction<T> action)

    - #### storeCancel

          public <T> void storeCancel​(T component,
                                      ComponentAction<T> action)

    - #### isEmpty

          public boolean isEmpty()

      Since:
        5.2.0

    - #### getClientData

          public String getClientData()