|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ChannelFormat> de.nava.informa.core.ChannelFormat
public enum ChannelFormat
Enums to describe which syntax is used by a channel description.
Enum Constant Summary | |
---|---|
ATOM_0_1
Syntax according to the Atom 0.1 specification. |
|
ATOM_0_2
Syntax according to the Atom 0.2 specification. |
|
ATOM_0_3
Syntax according to the Atom 0.3 specification. |
|
ATOM_1_0
Syntax according to the Atom 1.0 specification. |
|
RSS_0_90
Syntax according to RSS 0.9 specification. |
|
RSS_0_91
Syntax according to RSS 0.91 specification. |
|
RSS_0_92
Syntax according to RSS 0.92 specification. |
|
RSS_0_93
Syntax according to RSS 0.93 specification. |
|
RSS_0_94
Syntax according to RSS 0.94 specification. |
|
RSS_1_0
Syntax according to RSS 1.0 specification. |
|
RSS_2_0
Syntax according to RSS 2.0 specification. |
|
UNKNOWN_CHANNEL_FORMAT
Convenient null value to make code more robust |
Method Summary | |
---|---|
String |
toString()
|
static ChannelFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ChannelFormat[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ChannelFormat UNKNOWN_CHANNEL_FORMAT
public static final ChannelFormat RSS_0_90
public static final ChannelFormat RSS_0_91
public static final ChannelFormat RSS_0_92
public static final ChannelFormat RSS_0_93
public static final ChannelFormat RSS_0_94
public static final ChannelFormat RSS_1_0
public static final ChannelFormat RSS_2_0
public static final ChannelFormat ATOM_0_1
public static final ChannelFormat ATOM_0_2
public static final ChannelFormat ATOM_0_3
public static final ChannelFormat ATOM_1_0
Method Detail |
---|
public static final ChannelFormat[] values()
for(ChannelFormat c : ChannelFormat.values()) System.out.println(c);
public static ChannelFormat valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic String toString()
toString
in class Enum<ChannelFormat>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |