- All Implemented Interfaces:
ElementWriter
,DynamicAttributes
,JspTag
,SimpleTag
A newsfeed item, used to annotate pages and elements of what
changes. The news entries are not typically directly visible, but
instead are available via news views, RSS feeds, newsletters, Twitter
tweets, and such.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected News
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
-
Constructor Details
-
NewsTag
public NewsTag()
-
-
Method Details
-
setBook
-
setPage
-
setElement
-
setView
-
setTitle
-
setDescription
-
setPubDate
-
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
- Overrides:
doBody
in classElementTag<News>
- Throws:
JspException
IOException
-
writeTo
- Throws:
IOException
ServletException
-