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

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

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

Defines the only three possible values of the friendly url separator. this setting can be found under the configuration key website_settings.friendly_url_separator.


Enum Constant Summary
DASH
           
EMPTY
           
UNDERSCORE
           
 
Field Summary
protected static java.util.Map<java.lang.String,SEOConfig.FriendlyURLSeparator> LOOKUP
           
 
Method Summary
protected static SEOConfig.FriendlyURLSeparator getDefaultSeparator()
           
 java.lang.String getFriendlyURLSeparator()
           
static SEOConfig.FriendlyURLSeparator valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SEOConfig.FriendlyURLSeparator[] 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

UNDERSCORE

public static final SEOConfig.FriendlyURLSeparator UNDERSCORE

DASH

public static final SEOConfig.FriendlyURLSeparator DASH

EMPTY

public static final SEOConfig.FriendlyURLSeparator EMPTY
Field Detail

LOOKUP

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

values

public static SEOConfig.FriendlyURLSeparator[] 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.FriendlyURLSeparator c : SEOConfig.FriendlyURLSeparator.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.FriendlyURLSeparator 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

getFriendlyURLSeparator

public java.lang.String getFriendlyURLSeparator()
Returns:
The string representation of the friendly URL setting.

getDefaultSeparator

protected static SEOConfig.FriendlyURLSeparator getDefaultSeparator()
Returns:
The default friendly URL separator.


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