- 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 Newsprotected voiddoBody(News news, CaptureLevel captureLevel) protected voidevaluateAttributes(News news, ELContext elContext) voidsetAllowRobots(ValueExpression allowRobots) voidsetBook(ValueExpression book) voidsetDescription(ValueExpression description) voidsetElement(ValueExpression element) voidsetPage(ValueExpression page) voidsetPubDate(ValueExpression pubDate) voidsetTitle(ValueExpression title) voidsetView(ValueExpression view) voidwriteTo(Writer out, ElementContext context) Methods inherited from class com.semanticcms.core.taglib.ElementTag
addDynamicAttribute, doTag, getElement, setDynamicAttribute, setIdMethods inherited from class jakarta.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
-
setAllowRobots
-
createElement
- Specified by:
createElementin classElementTag<News>
-
evaluateAttributes
- Overrides:
evaluateAttributesin classElementTag<News>- Throws:
JspTagException
-
doBody
- Overrides:
doBodyin classElementTag<News>- Throws:
JspExceptionIOException
-
writeTo
- Throws:
IOExceptionServletException
-
