AttributeTag (Java EE 5 SDK)

Java

Java EE 5 SDK

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


javax.faces.webapp Class AttributeTag

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

Deprecated. The Faces implementation must now provide the implementation for this class.

public class AttributeTag
extends TagSupport

Tag implementation that adds an attribute with a specified name and String value to the component whose tag it is nested inside, if the component does not already contain an attribute with the same name. This tag creates no output to the page currently being created.

另请参见:
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
 
构造器摘要
AttributeTag()
          Deprecated.  
 
方法摘要
 int doEndTag()
          Deprecated. Default processing of the end tag returning EVAL_PAGE.
 int doStartTag()
          Deprecated. Register the specified attribute name and value with the UIComponent instance associated with our most immediately surrounding UIComponentTag instance, if this UIComponent does not already have a value for the specified attribute name.
 void release()
          Deprecated. Release references to any acquired resources.
 void setName(String name)
          Deprecated. Set the attribute name.
 void setValue(String value)
          Deprecated. Set the attribute value.
 
类方法继承 javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造器详细信息

AttributeTag

public AttributeTag()
Deprecated. 
方法详细信息

setName

public void setName(String name)
Deprecated. 

Set the attribute name.

参数:
name - The new attribute name

setValue

public void setValue(String value)
Deprecated. 

Set the attribute value.

参数:
value - The new attribute value

doStartTag

public int doStartTag()
               throws JspException
Deprecated. 

Register the specified attribute name and value with the UIComponent instance associated with our most immediately surrounding UIComponentTag instance, if this UIComponent does not already have a value for the specified attribute name.

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

doEndTag

public int doEndTag()
             throws JspException
Deprecated. 
Description copied from class: TagSupport
Default processing of the end tag returning EVAL_PAGE.

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

release

public void release()
Deprecated. 

Release references to any acquired resources.

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

Java EE 5 SDK

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


提交错误或意见

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