org.nuiton.rss
Enum Field

java.lang.Object
  extended by java.lang.Enum<Field>
      extended by org.nuiton.rss.Field
All Implemented Interfaces:
Serializable, Comparable<Field>

public enum Field
extends Enum<Field>

Enumeration des champs disponibles pour le renderer

Author:
poussin

Enum Constant Summary
AUTHOR
           
CATEGORY
           
DESCRIPTION
           
IMAGE
           
LINK
           
NAME
           
TIME
           
 
Method Summary
 char getC()
           
static Field[] getFeedFields()
           
static Field[] getItemFields()
           
static Field valueOf(char c)
           
static Field valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Field[] 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

NAME

public static final Field NAME

IMAGE

public static final Field IMAGE

DESCRIPTION

public static final Field DESCRIPTION

AUTHOR

public static final Field AUTHOR

TIME

public static final Field TIME

LINK

public static final Field LINK

CATEGORY

public static final Field CATEGORY
Method Detail

values

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

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

valueOf

public static Field valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getC

public char getC()

valueOf

public static Field valueOf(char c)

getFeedFields

public static Field[] getFeedFields()

getItemFields

public static Field[] getItemFields()


Copyright © 2008-2012 CodeLutin. All Rights Reserved.