FacetTag (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.faces.webapp Class FacetTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.faces.webapp.FacetTag
所有已实现的接口:
Serializable, IterationTag, JspTag, Tag

public class FacetTag
extends TagSupport

FacetTag is the JSP mechanism for denoting a UIComponent is to be added as a facet to the component associated with its parent.

A FacetTag must have one and only one child. This child must be a UIComponentTag instance representing a single UIComponent instance.

另请参见:
Serialized Form

字段摘要
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
构造器摘要
FacetTag()
           
 
方法摘要
 int doStartTag()
          Return EVAL_BODY_INCLUDE to cause nested body content to be evaluated.
 String getName()
          Return the name to be assigned to this facet.
 void release()
          Release any resources allocated by this tag instance.
 void setName(String name)
          Set the name to be assigned to this facet.
 
类方法继承 javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造器详细信息

FacetTag

public FacetTag()
方法详细信息

getName

public String getName()

Return the name to be assigned to this facet.


setName

public void setName(String name)

Set the name to be assigned to this facet.

参数:
name - The new facet name

release

public void release()

Release any resources allocated by this tag instance.

规范说明:
release in interface Tag
重写:
release in class TagSupport
另请参见:
Tag.release()

doStartTag

public int doStartTag()
               throws JspException

Return EVAL_BODY_INCLUDE to cause nested body content to be evaluated.

规范说明:
doStartTag in interface Tag
重写:
doStartTag in class TagSupport
返回:
SKIP_BODY
抛出异常:
JspException - if an error occurs while processing this tag
另请参见:
Tag.doStartTag()

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.