|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.site.xmlsitemap.CmsXmlSeoConfiguration
public class CmsXmlSeoConfiguration
Configuration bean which represents the options which are configurable from a 'seo-file' resource.
| Field Summary | |
|---|---|
protected java.util.List<java.lang.String> |
m_excludes
The exclude paths. |
protected java.util.List<java.lang.String> |
m_includes
The include paths. |
protected java.lang.String |
m_mode
The mode. |
protected java.lang.String |
m_robotsTxtText
Text to be included in robots.txt after the sitemap references. |
static java.lang.Object |
MODE_ROBOTS_TXT
Mode name constant. |
static java.lang.Object |
MODE_XML_SITEMAP
Mode name constant. |
static java.lang.String |
N_COMPUTE_CONTAINER_PAGE_DATES
Node name. |
static java.lang.String |
N_EXCLUDE
Node name. |
static java.lang.String |
N_GENERATOR_CLASS
Node name. |
static java.lang.String |
N_INCLUDE
Node name. |
static java.lang.String |
N_MODE
Node name. |
static java.lang.String |
N_ROBOTS_TXT_TEXT
Node name. |
static java.lang.String |
SEO_FILE_TYPE
The file type used for generating XML sitemaps or robots.txt files. |
| Constructor Summary | |
|---|---|
CmsXmlSeoConfiguration()
|
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getExcludes()
Gets the list of exclude paths. |
java.util.List<java.lang.String> |
getIncludes()
Gets the list of include paths. |
java.lang.String |
getMode()
Gets the mode. |
java.lang.String |
getRobotsTxtText()
Gets the text which should be inserted in robots.txt mode. |
java.lang.String |
getSitemapGeneratorClassName()
Gets the class name for the sitemap generator class (may return null if none is explicitly configured). |
boolean |
isXmlSitemapMode()
Returns true if this configuration is configured as robots.txt mode. |
void |
load(CmsObject cms,
CmsResource resource)
Loads the bean data from the given resource. |
boolean |
shouldComputeContainerPageModificationDates()
Returns true if container page modification dates should be computed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.Object MODE_ROBOTS_TXT
public static final java.lang.Object MODE_XML_SITEMAP
public static final java.lang.String N_COMPUTE_CONTAINER_PAGE_DATES
public static final java.lang.String N_EXCLUDE
public static final java.lang.String N_GENERATOR_CLASS
public static final java.lang.String N_INCLUDE
public static final java.lang.String N_MODE
public static final java.lang.String N_ROBOTS_TXT_TEXT
public static final java.lang.String SEO_FILE_TYPE
protected java.util.List<java.lang.String> m_excludes
protected java.util.List<java.lang.String> m_includes
protected java.lang.String m_mode
protected java.lang.String m_robotsTxtText
| Constructor Detail |
|---|
public CmsXmlSeoConfiguration()
| Method Detail |
|---|
public java.util.List<java.lang.String> getExcludes()
public java.util.List<java.lang.String> getIncludes()
public java.lang.String getMode()
public java.lang.String getRobotsTxtText()
public java.lang.String getSitemapGeneratorClassName()
public boolean isXmlSitemapMode()
public void load(CmsObject cms,
CmsResource resource)
throws CmsException
cms - the CMS context to useresource - the resource from which to load the data
CmsException - if something goes wrongpublic boolean shouldComputeContainerPageModificationDates()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||