- 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_MODEFields inherited from class com.aoapps.web.framework.WebPage
emptyWebPageArray, reHTMLPattern, SEARCH_TWO -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoGet(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 booleanDetermines 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, useSmoothOutlineMethods 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, useSiteMapMethods inherited from class com.aoapps.web.resources.servlet.PageServlet
serviceMethods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTraceMethods 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:
doGetin classWebPage- Parameters:
req- theWebSiteRequestfor this request, ornullwhen searchingresp- theHttpServletResponsefor this request, ornullwhen searchingdocument- theDocumentEEto send output to- Throws:
ServletExceptionIOException- See Also:
-
getTree
protected final List<? extends TreePageData> getTree(WebSiteRequest req, HttpServletResponse resp) throws ServletException Description copied from class:TreePageGets the tree to be displayed. Each row consists of three elements: path, href, description- Specified by:
getTreein classTreePage- Throws:
ServletException
-
isVisible
Determines if a page should be visible in the generated maps.
-
