java.lang.Object
com.semanticcms.core.servlet.Page
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
static interface
-
Constructor Summary
ConstructorDescriptionCreates a new page in the current page context.Page
(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, String title) -
Method Summary
Modifier and TypeMethodDescriptionallowChildMismatch
(boolean allowChildMismatch) allowParentMismatch
(boolean allowParentMismatch) allowRobots
(Boolean allowRobots) dateCreated
(ReadableDateTime dateCreated) dateModified
(ReadableDateTime dateModified) datePublished
(ReadableDateTime datePublished) dateReviewed
(ReadableDateTime dateReviewed) description
(String description) void
invoke()
void
Sets request attribute "page" to the current page, and restores the previous "page" attribute once completed.void
invoke
(Page.PageContextBody body) void
Adds a property to the page.serialization
(Serialization serialization) shortTitle
(String shortTitle) tocLevels
(int tocLevels)
-
Constructor Details
-
Page
public Page(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, String title) -
Page
Creates a new page in the current page context.- See Also:
-
-
Method Details
-
pageRef
-
dateCreated
-
datePublished
-
dateModified
-
dateReviewed
-
serialization
-
doctype
-
autonli
-
indent
-
shortTitle
-
description
-
keywords
-
allowRobots
-
toc
-
tocLevels
-
allowParentMismatch
-
allowChildMismatch
-
property
Adds a property to the page.- Throws:
IllegalStateException
- if the property with the given name has already been set
-
invoke
Sets request attribute "page" to the current page, and restores the previous "page" attribute once completed.Also establishes a new
PageContext
.- Throws:
ServletException
IOException
SkipPageException
- See Also:
-
invoke
- Throws:
ServletException
IOException
SkipPageException
- See Also:
-
invoke
public void invoke(Page.PageContextBody body) throws ServletException, IOException, SkipPageException - Throws:
ServletException
IOException
SkipPageException
- See Also:
-
invoke
public void invoke(Page.PageContextNoPageBody body) throws ServletException, IOException, SkipPageException - Throws:
ServletException
IOException
SkipPageException
- See Also:
-