com.ideo.sweetdevria.taglib.reader
Class ReaderItemTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.ideo.sweetdevria.taglib.AbstractTagDrawer
com.ideo.sweetdevria.taglib.AbstractComponentTagSupport
com.ideo.sweetdevria.taglib.BaseTagSupport
com.ideo.sweetdevria.taglib.BaseStateTagSupport
com.ideo.sweetdevria.taglib.reader.ReaderItemTag
- All Implemented Interfaces:
- Hideable, IRiaTag, java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class ReaderItemTag
- extends BaseStateTagSupport
- implements IRiaTag, javax.servlet.jsp.tagext.BodyTag
- See Also:
- Serialized Form
Field Summary |
protected static java.lang.String |
BUILDER_ID
Builder ID. |
protected java.lang.String |
label
|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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 |
Method Summary |
int |
doEndTag()
Default processing of the end tag returning EVAL_PAGE. |
void |
doInitBody()
|
int |
doStartTag()
Default processing of the start tag. |
javax.servlet.jsp.tagext.BodyContent |
getBodyContent()
|
java.lang.String |
getBuilderId()
Return the targeted builder id for this component as specified in the configuration file. |
java.lang.String |
getLabel()
|
void |
release()
Release method which must call super.release ! |
void |
setBodyContent(javax.servlet.jsp.tagext.BodyContent bodyContent)
|
void |
setLabel(java.lang.String label)
Set the label of the category |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getParent, getValue, getValues, removeValue, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.IterationTag |
doAfterBody |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
label
protected java.lang.String label
BUILDER_ID
protected static final java.lang.String BUILDER_ID
- Builder ID.
ReaderItemTag
public ReaderItemTag()
getBuilderId
public java.lang.String getBuilderId()
- Description copied from interface:
IRiaTag
- Return the targeted builder id for this component as specified in the configuration file.
- Specified by:
getBuilderId
in interface IRiaTag
- Specified by:
getBuilderId
in class AbstractTagDrawer
- Returns:
- id targeted builder id
- See Also:
IRiaTag.getBuilderId()
release
public void release()
- Description copied from interface:
IRiaTag
- Release method which must call super.release !
- Specified by:
release
in interface IRiaTag
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class BaseStateTagSupport
- See Also:
AbstractComponentTagSupport.release()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Description copied from interface:
IRiaTag
- Default processing of the start tag.
- Specified by:
doStartTag
in interface IRiaTag
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class AbstractComponentTagSupport
- Returns:
- EVAL_BODY_AGAIN, EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY or SKIP_PAGE.
- Throws:
javax.servlet.jsp.JspException
- See Also:
IRiaTag.doStartTag()
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Description copied from interface:
IRiaTag
- Default processing of the end tag returning EVAL_PAGE.
- Specified by:
doEndTag
in interface IRiaTag
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class AbstractComponentTagSupport
- Returns:
- EVAL_PAGE or SKIP_PAGE.
- Throws:
javax.servlet.jsp.JspException
- See Also:
IRiaTag.doEndTag()
doInitBody
public void doInitBody()
throws javax.servlet.jsp.JspException
- Specified by:
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
- Overrides:
doInitBody
in class AbstractComponentTagSupport
- Throws:
javax.servlet.jsp.JspException
setBodyContent
public void setBodyContent(javax.servlet.jsp.tagext.BodyContent bodyContent)
- Specified by:
setBodyContent
in interface javax.servlet.jsp.tagext.BodyTag
- Overrides:
setBodyContent
in class AbstractComponentTagSupport
getBodyContent
public javax.servlet.jsp.tagext.BodyContent getBodyContent()
- Overrides:
getBodyContent
in class AbstractComponentTagSupport
getLabel
public java.lang.String getLabel()
setLabel
public void setLabel(java.lang.String label)
- Set the label of the category
- Parameters:
nodeTypes
- a list of node types
Copyright © 2010 Ideo Technologies. All Rights Reserved.