Enum NewsAttributes.NewsGenre
- java.lang.Object
- 
- java.lang.Enum<NewsAttributes.NewsGenre>
- 
- crawlercommons.sitemaps.extension.NewsAttributes.NewsGenre
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<NewsAttributes.NewsGenre>
 - Enclosing class:
- NewsAttributes
 
 public static enum NewsAttributes.NewsGenre extends Enum<NewsAttributes.NewsGenre> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description BlogOpEdOpinionPressReleaseSatireUserGenerated
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static NewsAttributes.NewsGenrevalueOf(String name)Returns the enum constant of this type with the specified name.static NewsAttributes.NewsGenre[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
Blogpublic static final NewsAttributes.NewsGenre Blog 
 - 
OpEdpublic static final NewsAttributes.NewsGenre OpEd 
 - 
Opinionpublic static final NewsAttributes.NewsGenre Opinion 
 - 
PressReleasepublic static final NewsAttributes.NewsGenre PressRelease 
 - 
Satirepublic static final NewsAttributes.NewsGenre Satire 
 - 
UserGeneratedpublic static final NewsAttributes.NewsGenre UserGenerated 
 
- 
 - 
Method Detail- 
valuespublic static NewsAttributes.NewsGenre[] 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 (NewsAttributes.NewsGenre c : NewsAttributes.NewsGenre.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static NewsAttributes.NewsGenre 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
 
 
- 
 
-