## Uses of Class
javax.faces.application.StateManager.SerializedView

- Packages that use StateManager.SerializedView
  Package | Description
  --- | ---
  javax.faces.application | APIs that are used to link an application's business logic objects to JavaServer Faces, as well as convenient pluggable mechanisms to manage the execution of an application that is based on JavaServer Faces.
  javax.faces.render | Classes and interfaces defining the rendering model.

- - ### Uses of StateManager.SerializedView in javax.faces.application

    Methods in javax.faces.application that return StateManager.SerializedView
    Modifier and Type | Method and Description
    --- | ---
    `StateManager.SerializedView` | StateManagerWrapper.`saveSerializedView(FacesContext context)` The default behavior of this method is to call `StateManager.saveSerializedView(javax.faces.context.FacesContext)` on the wrapped `StateManager` object.
    `StateManager.SerializedView` | StateManager.`saveSerializedView(FacesContext context)` Deprecated. this has been replaced by `StateManager.saveView(javax.faces.context.FacesContext)`. The default implementation calls `saveView` and inspects the return. If the return is an `Object []`, it casts the result to an `Object []` wrapping the first and second elements in an instance of `StateManager.SerializedView`, which it then returns. Otherwise, it returns `null`

    Methods in javax.faces.application with parameters of type StateManager.SerializedView
    Modifier and Type | Method and Description
    --- | ---
    `void` | StateManagerWrapper.`writeState(FacesContext context, StateManager.SerializedView state)` The default behavior of this method is to call `StateManager.writeState(javax.faces.context.FacesContext, javax.faces.application.StateManager.SerializedView)` on the wrapped `StateManager` object.
    `void` | StateManager.`writeState(FacesContext context, StateManager.SerializedView state)` Deprecated. This method has been replaced by `StateManager.writeState(javax.faces.context.FacesContext,java.lang.Object)`. The default implementation calls the non-deprecated variant of the method passing an `Object []` as the second argument, where the first element of the array is the return from `getStructure()` and the second is the return from `getState()` on the argument `state`.

  - ### Uses of StateManager.SerializedView in javax.faces.render

    Methods in javax.faces.render with parameters of type StateManager.SerializedView
    Modifier and Type | Method and Description
    --- | ---
    `void` | ResponseStateManager.`writeState(FacesContext context, StateManager.SerializedView state)` Deprecated. This method has been replaced by `ResponseStateManager.writeState(javax.faces.context.FacesContext,java.lang.Object)`. The default implementation creates a two element `Object` array with the first element being the return from calling `getStructure()`, and the second being the return from `getState()`. It then passes this `Object` array to `ResponseStateManager.writeState(javax.faces.context.FacesContext, java.lang.Object)`.

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