Package com.semanticcms.news.taglib
Class NewsTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.SimpleTagSupport
-
- com.semanticcms.core.taglib.ElementTag<News>
-
- com.semanticcms.news.taglib.NewsTag
-
- All Implemented Interfaces:
ElementWriter
,DynamicAttributes
,JspTag
,SimpleTag
public class NewsTag extends ElementTag<News>
-
-
Constructor Summary
Constructors Constructor Description NewsTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected News
createElement()
protected void
doBody(News news, CaptureLevel captureLevel)
protected void
evaluateAttributes(News news, ELContext elContext)
void
setBook(ValueExpression book)
void
setDescription(ValueExpression description)
void
setElement(ValueExpression element)
void
setPage(ValueExpression page)
void
setPubDate(ValueExpression pubDate)
void
setTitle(ValueExpression title)
void
setView(ValueExpression view)
void
writeTo(Writer out, ElementContext context)
-
Methods inherited from class com.semanticcms.core.taglib.ElementTag
addDynamicAttribute, doTag, getElement, setDynamicAttribute, setId
-
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
-
-
-
-
Method Detail
-
setBook
public void setBook(ValueExpression book)
-
setPage
public void setPage(ValueExpression page)
-
setElement
public void setElement(ValueExpression element)
-
setView
public void setView(ValueExpression view)
-
setTitle
public void setTitle(ValueExpression title)
-
setDescription
public void setDescription(ValueExpression description)
-
setPubDate
public void setPubDate(ValueExpression pubDate)
-
createElement
protected News createElement()
- Specified by:
createElement
in classElementTag<News>
-
evaluateAttributes
protected void evaluateAttributes(News news, ELContext elContext) throws JspTagException, IOException
- Overrides:
evaluateAttributes
in classElementTag<News>
- Throws:
JspTagException
IOException
-
doBody
protected void doBody(News news, CaptureLevel captureLevel) throws JspException, IOException
- Overrides:
doBody
in classElementTag<News>
- Throws:
JspException
IOException
-
writeTo
public void writeTo(Writer out, ElementContext context) throws IOException, ServletException
- Throws:
IOException
ServletException
-
-