Package edu.upf.taln.dri.lib.model.ext
Enum CitationSourceENUM
- java.lang.Object
-
- java.lang.Enum<CitationSourceENUM>
-
- edu.upf.taln.dri.lib.model.ext.CitationSourceENUM
-
- All Implemented Interfaces:
Serializable
,Comparable<CitationSourceENUM>
public enum CitationSourceENUM extends Enum<CitationSourceENUM>
Type of external Web Service used to gather bibliographic entry metadata
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Bibsonomy
CrossRef
FreeCite
GoogleScholar
JATS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CitationSourceENUM
valueOf(String name)
Returns the enum constant of this type with the specified name.static CitationSourceENUM[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FreeCite
public static final CitationSourceENUM FreeCite
-
Bibsonomy
public static final CitationSourceENUM Bibsonomy
-
CrossRef
public static final CitationSourceENUM CrossRef
-
GoogleScholar
public static final CitationSourceENUM GoogleScholar
-
JATS
public static final CitationSourceENUM JATS
-
-
Method Detail
-
values
public static CitationSourceENUM[] 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 (CitationSourceENUM c : CitationSourceENUM.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CitationSourceENUM 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 nameNullPointerException
- if the argument is null
-
-