|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.shale.clay.taglib.SymbolTag
public class SymbolTag
This Tag is used to add replacement symbols to the Clay component.
Replacement symbols are substituted within the meta-data used to build the subtree
under the Clay component. This tag is similar to the standard JSF attribute tag.
The name attribute will be prepended with an '@' character.
The "at" character is the symbol identifier.
| 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 | |
|---|---|
SymbolTag()
|
|
| Method Summary | |
|---|---|
int |
doStartTag()
Finds the parent component and adds the symbol to the Clay component's symbol table. |
java.lang.String |
getName()
Returns the name of the symbol. |
java.lang.String |
getValue()
Returns the value for the symbol. |
void |
setName(java.lang.String name)
Sets the name of the symbol. |
void |
setValue(java.lang.String value)
Sets the value for the symbol. |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, 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 SymbolTag()
| Method Detail |
|---|
public java.lang.String getName()
Returns the name of the symbol.
public void setName(java.lang.String name)
Sets the name of the symbol.
name - of the symbolpublic java.lang.String getValue()
Returns the value for the symbol.
public void setValue(java.lang.String value)
Sets the value for the symbol.
value - of the symbol
public int doStartTag()
throws javax.servlet.jsp.JspException
Finds the parent component and adds the symbol to the
Clay component's symbol table. The parent has to be a Clay component.
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - general JSP tag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||