uicomponentclassictagbase.html

来自「j2ee帮助文档软件设计/软件工程 文件格式」· HTML 代码 · 共 1,186 行 · 第 1/5 页

HTML
1,186
字号
<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="UIComponentClassicTagBase()"><!-- --></A><H3>UIComponentClassicTagBase</H3><PRE>public <B>UIComponentClassicTagBase</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getDoStartValue()"><!-- --></A><H3>getDoStartValue</H3><PRE>protected int <B>getDoStartValue</B>()                       throws <A HREF="../../../javax/servlet/jsp/JspException.html" title="class in javax.servlet.jsp">JspException</A></PRE><DL><DD><p>Return the flag value that should be returned from the <code>doStart()</code> method when it is called.  Subclasses may override this method to return the appropriate value.</p><P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/servlet/jsp/JspException.html" title="class in javax.servlet.jsp">JspException</A></CODE> - to cause <code>doStart()</code> to  throw an exception</DL></DD></DL><HR><A NAME="getDoEndValue()"><!-- --></A><H3>getDoEndValue</H3><PRE>protected int <B>getDoEndValue</B>()                     throws <A HREF="../../../javax/servlet/jsp/JspException.html" title="class in javax.servlet.jsp">JspException</A></PRE><DL><DD><p>Return the flag value that should be returned from the <code>doEnd()</code> method when it is called.  Subclasses may override this method to return the appropriate value.</p><P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/servlet/jsp/JspException.html" title="class in javax.servlet.jsp">JspException</A></CODE> - to cause <code>doEnd()</code> to  throw an exception</DL></DD></DL><HR><A NAME="encodeBegin()"><!-- --></A><H3>encodeBegin</H3><PRE>protected void <B>encodeBegin</B>()                    throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>No encoding is done during JSP page execution. Encoding is deferred until the page has completed executing to allow the entire tree to be built before any encoding occurs.</I><P><DD><p>Delegate to the <code>encodeBegin()</code> method of our corresponding <A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component"><CODE>UIComponent</CODE></A>.  This method is called from <code>doStartTag()</code>.  Normally, delegation occurs unconditionally; however, this method is abstracted out so that advanced tags can conditionally perform this call.<P><DD><DL></DL></DD><DD><DL><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</DL></DD></DL><HR><A NAME="encodeChildren()"><!-- --></A><H3>encodeChildren</H3><PRE>protected void <B>encodeChildren</B>()                       throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>No encoding is done during JSP page execution. Encoding is deferred until the page has completed executing to allow the entire tree to be built before any encoding occurs.</I><P><DD><p>Delegate to the <code>encodeChildren()</code> method of our corresponding <A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component"><CODE>UIComponent</CODE></A>.  This method is called from <code>doStartTag()</code>.  Normally, delegation occurs unconditionally; however, this method is abstracted out so that advanced tags can conditionally perform this call.<P><DD><DL></DL></DD><DD><DL><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</DL></DD></DL><HR><A NAME="encodeEnd()"><!-- --></A><H3>encodeEnd</H3><PRE>protected void <B>encodeEnd</B>()                  throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>No encoding is done during JSP page execution. Encoding is deferred until the page has completed executing to allow the entire tree to be built before any encoding occurs.</I><P><DD><p>Delegate to the <code>encodeEnd()</code> method of our corresponding <A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component"><CODE>UIComponent</CODE></A>.  This method is called from <code>doStartTag()</code>.  Normally, delegation occurs unconditionally; however, this method is abstracted out so that advanced tags can conditionally perform this call.<P><DD><DL></DL></DD><DD><DL><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</DL></DD></DL><HR><A NAME="setPageContext(javax.servlet.jsp.PageContext)"><!-- --></A><H3>setPageContext</H3><PRE>public void <B>setPageContext</B>(<A HREF="../../../javax/servlet/jsp/PageContext.html" title="class in javax.servlet.jsp">PageContext</A>&nbsp;pageContext)</PRE><DL><DD><p>Set the <code>PageContext</code> of the page containing this tag instance.</p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/servlet/jsp/tagext/Tag.html#setPageContext(javax.servlet.jsp.PageContext)">setPageContext</A></CODE> in interface <CODE><A HREF="../../../javax/servlet/jsp/tagext/Tag.html" title="interface in javax.servlet.jsp.tagext">Tag</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The enclosing <code>PageContext</code></DL></DD></DL><HR><A NAME="getParent()"><!-- --></A><H3>getParent</H3><PRE>public <A HREF="../../../javax/servlet/jsp/tagext/Tag.html" title="interface in javax.servlet.jsp.tagext">Tag</A> <B>getParent</B>()</PRE><DL><DD><p>Return the <code>Tag</code> that is the parent of this instance.</p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/servlet/jsp/tagext/Tag.html#getParent()">getParent</A></CODE> in interface <CODE><A HREF="../../../javax/servlet/jsp/tagext/Tag.html" title="interface in javax.servlet.jsp.tagext">Tag</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current parent, or null if none.<DT><B>See Also:</B><DD><A HREF="../../../javax/servlet/jsp/tagext/TagSupport.html#findAncestorWithClass(javax.servlet.jsp.tagext.Tag, java.lang.Class)"><CODE>TagSupport.findAncestorWithClass(javax.servlet.jsp.tagext.Tag, java.lang.Class)</CODE></A></DL></DD></DL><HR><A NAME="setParent(javax.servlet.jsp.tagext.Tag)"><!-- --></A><H3>setParent</H3><PRE>public void <B>setParent</B>(<A HREF="../../../javax/servlet/jsp/tagext/Tag.html" title="interface in javax.servlet.jsp.tagext">Tag</A>&nbsp;parent)</PRE><DL><DD><p>Set the <code>Tag</code> that is the parent of this instance.</p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/servlet/jsp/tagext/Tag.html#setParent(javax.servlet.jsp.tagext.Tag)">setParent</A></CODE> in interface <CODE><A HREF="../../../javax/servlet/jsp/tagext/Tag.html" title="interface in javax.servlet.jsp.tagext">Tag</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>parent</CODE> - The new parent <code>Tag</code></DL></DD></DL><HR><A NAME="setupResponseWriter()"><!-- --></A><H3>setupResponseWriter</H3><PRE>protected void <B>setupResponseWriter</B>()</PRE><DL><DD><p>Set up the <A HREF="../../../javax/faces/context/ResponseWriter.html" title="class in javax.faces.context"><CODE>ResponseWriter</CODE></A> for the current response, if this has not been done already.</p> <p>@deprecated.  <A HREF="../../../javax/faces/application/ViewHandler.html#renderView(javax.faces.context.FacesContext, javax.faces.component.UIViewRoot)"><CODE>ViewHandler.renderView(javax.faces.context.FacesContext, javax.faces.component.UIViewRoot)</CODE></A> is now responsible for setting up the response writer.  This method is now a no-op.</p><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="findComponent(javax.faces.context.FacesContext)"><!-- --></A><H3>findComponent</H3><PRE>protected <A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component">UIComponent</A> <B>findComponent</B>(<A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context">FacesContext</A>&nbsp;context)                             throws <A HREF="../../../javax/servlet/jsp/JspException.html" title="class in javax.servlet.jsp">JspException</A></PRE><DL><DD><p>Find and return the <A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component"><CODE>UIComponent</CODE></A>, from the component tree, that corresponds to this tag handler instance.  If there is no such <A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component"><CODE>UIComponent</CODE></A>, create one  and add it as a child or facet of the <A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component"><CODE>UIComponent</CODE></A> associated

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?