JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
javax.faces.component

Interface TransientStateHelper

    • Method Detail

      • getTransient

        Object getTransient(Object key)

        Return the value currently associated with the specified key if any.

        Parameters:
        key - the key for which the value should be returned.
        Since:
        2.1
      • getTransient

        Object getTransient(Object key,
         Object defaultValue)

        Performs the same logic as getTransient(java.lang.Object) } but if no value is found, this will return the specified defaultValue

        Parameters:
        key - the key for which the value should be returned.
        defaultValue - the value to return if no value is found in the call to get().
        Since:
        2.1
      • putTransient

        Object putTransient(Object key,
         Object value)

        Return the previously stored value and store the specified key/value pair. This is intended to store data that would otherwise reside in an instance variable on the component.

        Parameters:
        key - the key for the value
        value - the value
        Since:
        2.1
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

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

AltStyle によって変換されたページ (->オリジナル) /