pusu.data
Enum OutputFeedFactory.FeedType

java.lang.Object
  extended by java.lang.Enum<OutputFeedFactory.FeedType>
      extended by pusu.data.OutputFeedFactory.FeedType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OutputFeedFactory.FeedType>
Enclosing class:
OutputFeedFactory

public static enum OutputFeedFactory.FeedType
extends java.lang.Enum<OutputFeedFactory.FeedType>

Järjestelmän tukemat syätemuodot.


Enum Constant Summary
ATOM
           
RSS
           
 
Method Summary
 java.lang.String getFeedType()
           
static OutputFeedFactory.FeedType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OutputFeedFactory.FeedType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RSS

public static final OutputFeedFactory.FeedType RSS

ATOM

public static final OutputFeedFactory.FeedType ATOM
Method Detail

values

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

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

valueOf

public static OutputFeedFactory.FeedType 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

getFeedType

public java.lang.String getFeedType()