public static enum BibtexString.Type extends java.lang.Enum<BibtexString.Type>
AUTHOR
: prefix "a", for author and editor fields.
- INSTITUTION
: prefix "i", for institution and organization
field
- PUBLISHER
: prefix "p", for publisher fields
- OTHER
: no prefix, for any field
Examples:
\@String { aKahle = "Kahle, Brewster " } -> author
\@String { aStallman = "Stallman, Richard" } -> author
\@String { iMIT = "{Massachusetts Institute of Technology ({MIT})}" } -> institution
\@String { pMIT = "{Massachusetts Institute of Technology ({MIT}) press}" } -> publisher
\@String { anct = "Anecdote" } -> other
\@String { eg = "for example" } -> other
\@String { et = " and " } -> other
\@String { lBigMac = "Big Mac" } -> other
Usage:
\@Misc {
title = "The GNU Project"
author = aStallman # et # aKahle
institution = iMIT
publisher = pMIT
note = "Just " # eg
}Enum Constant and Description |
---|
AUTHOR |
INSTITUTION |
OTHER |
PUBLISHER |
Modifier and Type | Method and Description |
---|---|
static BibtexString.Type |
get(java.lang.String name) |
static BibtexString.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BibtexString.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BibtexString.Type AUTHOR
public static final BibtexString.Type INSTITUTION
public static final BibtexString.Type PUBLISHER
public static final BibtexString.Type OTHER
public static BibtexString.Type[] values()
for (BibtexString.Type c : BibtexString.Type.values()) System.out.println(c);
public static BibtexString.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static final BibtexString.Type get(java.lang.String name)