public enum ReferenceType extends Enum<ReferenceType>
Enum Constant and Description |
---|
Article
An article from a journal or magazine.
|
Book
A book with an explicit publisher.
|
Booklet
A work that is printed and bound, but without a named publisher or sponsoring institution.
|
Inbook
A part of a book, usually untitled.
|
Incollection
A part of a book having its own title.
|
Inproceedings
An article in a conference proceedings.
|
Manual
Technical documentation.
|
Mastersthesis
A Master's thesis.
|
Misc
For use when nothing else fits.
|
Phdthesis
A Ph.D.
|
Proceedings
The proceedings of a conference.
|
Techreport
A report published by a school or other institution, usually numbered within a series.
|
Unpublished
A document having an author and title, but not formally published.
|
Modifier and Type | Method and Description |
---|---|
static ReferenceType |
getReferenceType(String v)
Get a
ReferenceType from a string. |
static ReferenceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReferenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReferenceType Article
public static final ReferenceType Book
public static final ReferenceType Booklet
public static final ReferenceType Inbook
public static final ReferenceType Incollection
public static final ReferenceType Inproceedings
public static final ReferenceType Manual
public static final ReferenceType Mastersthesis
public static final ReferenceType Misc
public static final ReferenceType Phdthesis
public static final ReferenceType Proceedings
public static final ReferenceType Techreport
public static final ReferenceType Unpublished
public static ReferenceType[] values()
for (ReferenceType c : ReferenceType.values()) System.out.println(c);
public static ReferenceType 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 static ReferenceType getReferenceType(String v)
ReferenceType
from a string.v
- the stringReferenceType