nl.gx.webmanager.services.seo.cnfg
Enum SEOConfig.PageTitleSetting

java.lang.Object
  extended by java.lang.Enum<SEOConfig.PageTitleSetting>
      extended by nl.gx.webmanager.services.seo.cnfg.SEOConfig.PageTitleSetting
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SEOConfig.PageTitleSetting>
Enclosing interface:
SEOConfig

public static enum SEOConfig.PageTitleSetting
extends java.lang.Enum<SEOConfig.PageTitleSetting>

Defines the only three possible values of the Page title settings. this setting can be found under the configuration key website_settings.friendly_url_setting.


Enum Constant Summary
FRIENDLY_URL_TITLE
           
NAVIGATION_TITLE
           
TITLE
           
 
Field Summary
protected static java.util.Map<java.lang.String,SEOConfig.PageTitleSetting> LOOKUP
           
 
Method Summary
protected static SEOConfig.PageTitleSetting getDefaultSetting()
           
static SEOConfig.PageTitleSetting valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SEOConfig.PageTitleSetting[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TITLE

public static final SEOConfig.PageTitleSetting TITLE

NAVIGATION_TITLE

public static final SEOConfig.PageTitleSetting NAVIGATION_TITLE

FRIENDLY_URL_TITLE

public static final SEOConfig.PageTitleSetting FRIENDLY_URL_TITLE
Field Detail

LOOKUP

protected static final java.util.Map<java.lang.String,SEOConfig.PageTitleSetting> LOOKUP
Method Detail

values

public static SEOConfig.PageTitleSetting[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SEOConfig.PageTitleSetting c : SEOConfig.PageTitleSetting.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SEOConfig.PageTitleSetting valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getDefaultSetting

protected static SEOConfig.PageTitleSetting getDefaultSetting()
Returns:
The default page title setting if it could not be determined normally.


Copyright © 2007-2011 GX Software BV. All Rights Reserved.