- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
Automatically builds a site map of the entire site.
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Fields inherited from class com.aoapps.web.framework.TreePage
MODE_AUTO, MODE_GUI, MODE_TEXT, TREE_LINE_COLOR, TREEPAGE_MODE
Fields inherited from class com.aoapps.web.framework.WebPage
emptyWebPageArray, reHTMLPattern, SEARCH_TWO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
doGet
(WebSiteRequest req, HttpServletResponse resp, DocumentEE document) The content of this page will not be included in the internal search engine.protected final List
<? extends TreePageData> getTree
(WebSiteRequest req, HttpServletResponse resp) Gets the tree to be displayed.protected abstract boolean
Determines if a page should be visible in the generated maps.Methods inherited from class com.aoapps.web.framework.TreePage
doGet, doGet, doPost, getLastModified, getSearchLastModified, useCodeFont, useSmoothOutline
Methods inherited from class com.aoapps.web.framework.WebPage
canAccess, configureResources, doGet, doPost, doPost, doPost, doPostWithSearch, equals, equals, generateUrlPath, getAuthor, getAuthorHref, getAutonli, getCachedChildren, getChildren, getClassLastModified, getContentValign, getCopyright, getDescription, getDoctype, getDocument, getHtmlOutputStream, getIndent, getJavascriptSrc, getKeywords, getLastModified, getLastModifiedRecursive, getLastModifiedRecursive, getNavImageAlt, getNavImageSuffix, getNavImageUrl, getNextPage, getOnloadScript, getPageIndexInParent, getParent, getPreferredContentWidth, getPreviousPage, getRedirectType, getRedirectUrl, getRootPage, getSerialization, getServletContext, getShortTitle, getTitle, getUptime, getUrlParams, getUrlPath, getUrlPattern, getWebPage, getWebPage, getWebPage, getWebPage, getWebPage, getWebPage, getWebPageAndChildrenLastModified, getWebPageLayout, getWebSiteRequest, hashCode, includeNavImageAsParent, isHandler, isHandler, loadClass, printLoginForm, printUnauthorizedPage, search, service, setHeaders, showInLocationPath, standardSearch, useNavImage, useSiteMap
Methods inherited from class com.aoapps.web.resources.servlet.PageServlet
service
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
AutoSiteMap
public AutoSiteMap()
-
-
Method Details
-
doGet
public void doGet(WebSiteRequest req, HttpServletResponse resp, DocumentEE document) throws ServletException, IOException The content of this page will not be included in the internal search engine.- Overrides:
doGet
in classWebPage
- Parameters:
req
- theWebSiteRequest
for this request, ornull
when searchingresp
- theHttpServletResponse
for this request, ornull
when searchingdocument
- theDocumentEE
to send output to- Throws:
ServletException
IOException
- See Also:
-
getTree
protected final List<? extends TreePageData> getTree(WebSiteRequest req, HttpServletResponse resp) throws ServletException Description copied from class:TreePage
Gets the tree to be displayed. Each row consists of three elements: path, href, description- Specified by:
getTree
in classTreePage
- Throws:
ServletException
-
isVisible
Determines if a page should be visible in the generated maps.
-