📄 uiviewroot.html
字号:
occur during invocation of the afterPhase listener must be logged and swallowed.</p><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/faces/component/UIComponentBase.html#encodeEnd(javax.faces.context.FacesContext)">encodeEnd</A></CODE> in class <CODE><A HREF="../../../javax/faces/component/UIComponentBase.html" title="class in javax.faces.component">UIComponentBase</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - <A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context"><CODE>FacesContext</CODE></A> for the response we are creating<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if an input/output error occurs while rendering</DL></DD></DL><HR><A NAME="processValidators(javax.faces.context.FacesContext)"><!-- --></A><H3>processValidators</H3><PRE>public void <B>processValidators</B>(<A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context">FacesContext</A> context)</PRE><DL><DD><p>Override the default <A HREF="../../../javax/faces/component/UIComponentBase.html#processValidators(javax.faces.context.FacesContext)"><CODE>UIComponentBase.processValidators(javax.faces.context.FacesContext)</CODE></A> behavior to broadcast any queued events after the default processing has been completed and to clear out any events for later phases if the event processing for this phase caused <A HREF="../../../javax/faces/context/FacesContext.html#renderResponse()"><CODE>FacesContext.renderResponse()</CODE></A> or <A HREF="../../../javax/faces/context/FacesContext.html#responseComplete()"><CODE>FacesContext.responseComplete()</CODE></A> to be called.</p><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/faces/component/UIComponentBase.html#processValidators(javax.faces.context.FacesContext)">processValidators</A></CODE> in class <CODE><A HREF="../../../javax/faces/component/UIComponentBase.html" title="class in javax.faces.component">UIComponentBase</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - <A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context"><CODE>FacesContext</CODE></A> for the request we are processing<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/NullPointerException.html" title="class or interface in java.lang">NullPointerException</A></CODE> - if <code>context</code> is <code>null</code></DL></DD></DL><HR><A NAME="processUpdates(javax.faces.context.FacesContext)"><!-- --></A><H3>processUpdates</H3><PRE>public void <B>processUpdates</B>(<A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context">FacesContext</A> context)</PRE><DL><DD><p>Override the default <A HREF="../../../javax/faces/component/UIComponentBase.html" title="class in javax.faces.component"><CODE>UIComponentBase</CODE></A> behavior to broadcast any queued events after the default processing has been completed and to clear out any events for later phases if the event processing for this phase caused <A HREF="../../../javax/faces/context/FacesContext.html#renderResponse()"><CODE>FacesContext.renderResponse()</CODE></A> or <A HREF="../../../javax/faces/context/FacesContext.html#responseComplete()"><CODE>FacesContext.responseComplete()</CODE></A> to be called.</p><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/faces/component/UIComponentBase.html#processUpdates(javax.faces.context.FacesContext)">processUpdates</A></CODE> in class <CODE><A HREF="../../../javax/faces/component/UIComponentBase.html" title="class in javax.faces.component">UIComponentBase</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - <A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context"><CODE>FacesContext</CODE></A> for the request we are processing<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/NullPointerException.html" title="class or interface in java.lang">NullPointerException</A></CODE> - if <code>context</code> is <code>null</code></DL></DD></DL><HR><A NAME="processApplication(javax.faces.context.FacesContext)"><!-- --></A><H3>processApplication</H3><PRE>public void <B>processApplication</B>(<A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context">FacesContext</A> context)</PRE><DL><DD><p>Broadcast any events that have been queued for the <em>Invoke Application</em> phase of the request processing lifecycle and to clear out any events for later phases if the event processing for this phase caused <A HREF="../../../javax/faces/context/FacesContext.html#renderResponse()"><CODE>FacesContext.renderResponse()</CODE></A> or <A HREF="../../../javax/faces/context/FacesContext.html#responseComplete()"><CODE>FacesContext.responseComplete()</CODE></A> to be called.</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - <A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context"><CODE>FacesContext</CODE></A> for the request we are processing<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/NullPointerException.html" title="class or interface in java.lang">NullPointerException</A></CODE> - if <code>context</code> is <code>null</code></DL></DD></DL><HR><A NAME="createUniqueId()"><!-- --></A><H3>createUniqueId</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>createUniqueId</B>()</PRE><DL><DD><p>Generate an identifier for a component. The identifier will be prefixed with UNIQUE_ID_PREFIX, and will be unique within this UIViewRoot.</p><P><DD><DL></DL></DD></DL><HR><A NAME="getLocale()"><!-- --></A><H3>getLocale</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A> <B>getLocale</B>()</PRE><DL><DD><p>Return the <code>Locale</code> to be used in localizing the response being created for this view.</p> <p/> <p>Algorithm:</p> <p/> <p>If we have a <code>locale</code> ivar, return it. If we have a value expression for "locale", get its value. If the value is <code>null</code>, return the result of calling <A HREF="../../../javax/faces/application/ViewHandler.html#calculateLocale(javax.faces.context.FacesContext)"><CODE>ViewHandler.calculateLocale(javax.faces.context.FacesContext)</CODE></A>. If the value is an instance of <code>java.util.Locale</code> return it. If the value is a String, convert it to a <code>java.util.Locale</code> and return it. If there is no value expression for "locale", return the result of calling <A HREF="../../../javax/faces/application/ViewHandler.html#calculateLocale(javax.faces.context.FacesContext)"><CODE>ViewHandler.calculateLocale(javax.faces.context.FacesContext)</CODE></A>.</p><P><DD><DL><DT><B>Returns:</B><DD>The current <code>Locale</code> obtained by executing the above algorithm.</DL></DD></DL><HR><A NAME="setLocale(java.util.Locale)"><!-- --></A><H3>setLocale</H3><PRE>public void <B>setLocale</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A> locale)</PRE><DL><DD><p>Set the <code>Locale</code> to be used in localizing the response being created for this view. </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>locale</CODE> - The new localization Locale</DL></DD></DL><HR><A NAME="saveState(javax.faces.context.FacesContext)"><!-- --></A><H3>saveState</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>saveState</B>(<A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context">FacesContext</A> context)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../javax/faces/component/StateHolder.html#saveState(javax.faces.context.FacesContext)">StateHolder</A></CODE></B></DD><DD><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.FacesContext)"><CODE>StateHolder.saveState(javax.faces.context.FacesContext)</CODE></A> method on all those instances as well. <strong>This method must not save the state of children and facets.</strong> That is done via the <A HREF="../../../javax/faces/application/StateManager.html" title="class in javax.faces.application"><CODE>StateManager</CODE></A></p> <p>This method must not alter the state of the implementing object. In other words, after executing this code:</p> <code><pre> Object state = component.saveState(facesContext); </pre></code> <p><code>component</code> should be the same as before executing it.</p> <p>The return from this method must be <code>Serializable</code></p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/faces/component/StateHolder.html#saveState(javax.faces.context.FacesContext)">saveState</A></CODE> in interface <CODE><A HREF="../../../javax/faces/component/StateHolder.html" title="interface in javax.faces.component">StateHolder</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/faces/component/UIComponentBase.html#saveState(javax.faces.context.FacesContext)">saveState</A></CODE> in class <CODE><A HREF="../../../javax/faces/component/UIComponentBase.html" title="class in javax.faces.component">UIComponentBase</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="restoreState(javax.faces.context.FacesContext, java.lang.Object)"><!-- --></A><H3>restoreState</H3><PRE>public void <B>restoreState</B>(<A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context">FacesContext</A> context, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> state)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../javax/faces/component/StateHolder.html#restoreState(javax.faces.context.FacesContext, java.lang.Object)">StateHolder</A></CODE></B></DD><DD><p> Perform any processing required to restore the state from the entries in the state Object.</p> <p>If the class that implements this interface has references to instances that also 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#restoreState(javax.faces.context.FacesContext, java.lang.Object)"><CODE>StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)</CODE></A> method on all those instances as well. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/faces/component/StateHolder.html#restoreState(javax.faces.context.FacesContext, java.lang.Object)">restoreState</A></CODE> in interface <CODE><A HREF="../../../javax/faces/component/StateHolder.html" title="interface in javax.faces.component">StateHolder</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/faces/component/UIComponentBase.html#restoreState(javax.faces.context.FacesContext, java.lang.Object)">restoreState</A></CODE> in class <CODE><A HREF="../../../javax/faces/component/UIComponentBase.html" title="class in javax.faces.component">UIComponentBase</A></CODE></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NA
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -