|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.faces.webapp Class FacetTag
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.faces.webapp.FacetTag
- All Implemented Interfaces:
- Serializable, IterationTag, JspTag, Tag
public class FacetTag
- extends TagSupport
FacetTag 是一种 JSP 机制,用来表示 javax.faces.component.UIComponent 将作为 facet 添加到其父标记关联的组件。
FacetTag 必须有且只有一个子标记。此子标记必须为表示单个 javax.faces.component.UIComponent 实例的 UIComponentTag 实例。
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.
- See Also:
- Serialized Form
| Field Summary |
|---|
| 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 |
| Constructor Summary | |
|---|---|
FacetTag()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public
FacetTag()
英文文档:
FacetTag
public FacetTag()
| Method Detail |
|---|
public String
getName()
返回分配给此 facet 的名称。
getName
public String getName()
Return the name to be assigned to this facet.
public void
setName(String name)
设置分配给此 facet 的名称。
| name | 新的 facet 名称 |
setName
public void setName(String name)
Set the name to be assigned to this facet.
- Parameters:
name- The new facet name
public void
release()
释放此标记实例分配的任何资源。
release
public void release()
Release any resources allocated by this tag instance.
- Specified by:
releasein interfaceTag- Overrides:
releasein classTagSupport
- See Also:
Tag.release()
public int
doStartTag() throws JspException
返回 EVAL_BODY_INCLUDE,以促使对嵌套正文求值。
doStartTag
public int doStartTag()
throws JspException
Return
EVAL_BODY_INCLUDEto cause nested body content to be evaluated.- Specified by:
doStartTagin interfaceTag- Overrides:
doStartTagin classTagSupport
- Returns:
- SKIP_BODY
- Throws:
JspException- if an error occurs while processing this tag- See Also:
Tag.doStartTag()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!
