java.lang.Object
com.semanticcms.news.servlet.impl.NewsImpl
Writes news body HTML.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
doBodyImpl
(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, News news) Writes news body HTML.static void
writeNewsImpl
(HttpServletRequest request, AnyPalpableContent<?, ?> content, ElementContext context, News news, PageIndex pageIndex) Writes news HTML.
-
Method Details
-
doBodyImpl
public static void doBodyImpl(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, News news) throws ServletException, IOException Writes news body HTML.TODO: This should be in the servlet implementation, not in the renderer. May be able to simplify dependencies.
- Throws:
ServletException
IOException
-
writeNewsImpl
public static void writeNewsImpl(HttpServletRequest request, AnyPalpableContent<?, ?> content, ElementContext context, News news, PageIndex pageIndex) throws ServletException, IOExceptionWrites news HTML.- Parameters:
content
-AnyPalpableContent
provides bothAnyNAV
andAnyDIV
.- Throws:
ServletException
IOException
-