./javax/faces/context/FacesContext.html" title="class in javax.faces.context">FacesContext</a>&nbsp;context)</pre>
<div class="block"><p> Gets the state of the instance as a
 <code>Serializable</code> Object.</p>

 <p>If the class that implements this interface has references to
 instances that implement StateHolder (such as a
 <code>UIComponent</code> with event handlers, validators, etc.)
 this method must call the <a href="../../../javax/faces/component/StateHolder.html#saveState-javax.faces.context.Face