|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.jsp.CmsJspBean
org.opencms.jsp.CmsJspActionElement
org.opencms.site.xmlsitemap.CmsXmlSitemapActionElement
public class CmsXmlSitemapActionElement
Action element class for displaying the XML sitemap from a JSP.
| Field Summary | |
|---|---|
protected CmsXmlSeoConfiguration |
m_configuration
The configuration bean. |
| Fields inherited from class org.opencms.jsp.CmsJspActionElement |
|---|
NOT_INITIALIZED |
| Constructor Summary | |
|---|---|
CmsXmlSitemapActionElement(javax.servlet.jsp.PageContext pageContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Constructor, with parameters. |
|
| Method Summary | |
|---|---|
CmsXmlSitemapGenerator |
createSitemapGenerator(java.lang.String className,
java.lang.String folderRootPath)
Creates an XML sitemap generator instance given a class name and the root path for the sitemap. |
void |
renderXmlSitemap()
Writes the XML sitemap to the response. |
void |
run()
Displays either the generated sitemap.xml or the generated robots.txt, depending on the configuration. |
| Methods inherited from class org.opencms.jsp.CmsJspActionElement |
|---|
editable, editable, editable, editableManualClose, editableManualOpen, getContent, getContent, getMessages, getMessages, getMessages, getMessages, getNavigation, getNavigationUri, img, img, include, include, include, include, include, include, includeSilent, includeSilent, includeSilent, includeSilent, info, label, link, link, properties, properties, property, property, property, property, template, template, template, toAbsolute, user |
| Methods inherited from class org.opencms.jsp.CmsJspBean |
|---|
getCmsObject, getController, getJspContext, getMessage, getRequest, getRequestContext, getResponse, handleException, init, isNotInitialized, isSupressingExceptions, setContentType, setStatus, setSupressingExceptions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CmsXmlSeoConfiguration m_configuration
| Constructor Detail |
|---|
public CmsXmlSitemapActionElement(javax.servlet.jsp.PageContext pageContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
pageContext - the JSP page context objectrequest - the JSP requestresponse - the JSP response| Method Detail |
|---|
public CmsXmlSitemapGenerator createSitemapGenerator(java.lang.String className,
java.lang.String folderRootPath)
throws CmsException
className - the class name of the sitemap generator (may be null for the defaultfolderRootPath - the root path of the start folder for the sitemap
CmsException - if something goes wrong
public void renderXmlSitemap()
throws java.lang.Exception
java.lang.Exception - if something goes wrong
public void run()
throws java.lang.Exception
java.lang.Exception - if something goes wrong
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||