org.nuiton.rss
Enum Field
java.lang.Object
java.lang.Enum<Field>
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
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
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.