public enum CitationType extends Enum<CitationType>
Java class for citation-type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="citation-type">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="formatted-unspecified"/>
<enumeration value="bibtex"/>
<enumeration value="ris"/>
<enumeration value="formatted-apa"/>
<enumeration value="formatted-harvard"/>
<enumeration value="formatted-ieee"/>
<enumeration value="formatted-mla"/>
<enumeration value="formatted-vancouver"/>
<enumeration value="formatted-chicago"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BIBTEX |
FORMATTED_APA |
FORMATTED_CHICAGO |
FORMATTED_HARVARD |
FORMATTED_IEEE |
FORMATTED_MLA |
FORMATTED_UNSPECIFIED |
FORMATTED_VANCOUVER |
RIS |
| Modifier and Type | Method and Description |
|---|---|
static CitationType |
fromValue(String v) |
String |
value() |
static CitationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CitationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CitationType FORMATTED_UNSPECIFIED
public static final CitationType BIBTEX
public static final CitationType RIS
public static final CitationType FORMATTED_APA
public static final CitationType FORMATTED_HARVARD
public static final CitationType FORMATTED_IEEE
public static final CitationType FORMATTED_MLA
public static final CitationType FORMATTED_VANCOUVER
public static final CitationType FORMATTED_CHICAGO
public static CitationType[] values()
for (CitationType c : CitationType.values()) System.out.println(c);
public static CitationType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static CitationType fromValue(String v)
Copyright © 2017. All rights reserved.