nl.gx.webmanager.services.seo
Enum FriendlyURLEntity.ContentType

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

public static enum FriendlyURLEntity.ContentType
extends java.lang.Enum<FriendlyURLEntity.ContentType>

Represents the three types of friendly URL entities: page, mediaitem and database page.


Enum Constant Summary
DB_PAGE
          Database page content type.
MEDIA_ITEM
          Media item content type.
PAGE
          Page content type.
 
Method Summary
 java.lang.String toString()
          
static FriendlyURLEntity.ContentType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FriendlyURLEntity.ContentType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PAGE

public static final FriendlyURLEntity.ContentType PAGE
Page content type.


MEDIA_ITEM

public static final FriendlyURLEntity.ContentType MEDIA_ITEM
Media item content type.


DB_PAGE

public static final FriendlyURLEntity.ContentType DB_PAGE
Database page content type.

Method Detail

values

public static FriendlyURLEntity.ContentType[] 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 (FriendlyURLEntity.ContentType c : FriendlyURLEntity.ContentType.values())
    System.out.println(c);

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

valueOf

public static FriendlyURLEntity.ContentType 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

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Enum<FriendlyURLEntity.ContentType>


Copyright © 2007-2010 GX creative online development BV. All Rights Reserved.