- All Implemented Interfaces:
ElementWriter
SemanticCMS newsfeeds in a Servlet environment.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.semanticcms.core.servlet.Element
Element.Body<E extends Element>, Element.PageContextBody<E extends Element>, Element.PageContextNoElementBody
-
Field Summary
Fields inherited from class com.semanticcms.core.servlet.Element
element, request, response, servletContext
-
Constructor Summary
ConstructorDescriptionNews
(News element, ReadableDateTime pubDate) Creates news in the current page context.News
(News element, ReadableDateTime pubDate, String description) Creates news in the current page context.News
(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, News element, ReadableDateTime pubDate) Creates news.News
(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, News element, ReadableDateTime pubDate, String description) Creates news.News
(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, ReadableDateTime pubDate) Creates news.News
(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, ReadableDateTime pubDate, String description) Creates news.News
(ReadableDateTime pubDate) Creates news in the current page context.News
(ReadableDateTime pubDate, String description) Creates news in the current page context. -
Method Summary
Modifier and TypeMethodDescriptionallowRobots
(Boolean allowRobots) description
(String description) protected void
doBody
(CaptureLevel captureLevel, Element.Body<? super News> body) void
writeTo
(Writer out, ElementContext context)
-
Constructor Details
-
News
public News(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, News element, ReadableDateTime pubDate) Creates news. -
News
public News(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, ReadableDateTime pubDate) Creates news. -
News
public News(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, News element, ReadableDateTime pubDate, String description) Creates news. -
News
public News(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, ReadableDateTime pubDate, String description) Creates news. -
News
Creates news in the current page context.- See Also:
-
News
Creates news in the current page context.- See Also:
-
News
Creates news in the current page context.- See Also:
-
News
Creates news in the current page context.- See Also:
-
-
Method Details
-
id
-
book
-
page
-
element
-
view
-
title
-
description
-
allowRobots
-
doBody
protected void doBody(CaptureLevel captureLevel, Element.Body<? super News> body) throws ServletException, IOException, SkipPageException - Overrides:
doBody
in classElement<News>
- Throws:
ServletException
IOException
SkipPageException
-
writeTo
- Throws:
IOException
ServletException
-