public class MockReference extends Object implements InvocationHandler
Reference
Constructor and Description |
---|
MockReference(org.jbibtex.BibTeXEntry entry)
Construct from a BibTeXEntry
|
Modifier and Type | Method and Description |
---|---|
Reference |
asReference() |
String[] |
author()
The name(s) of the author(s)
|
String |
booktitle()
The title of the book, if only part of it is being cited
|
String |
chapter()
The chapter number
|
String[] |
customData()
A list of custom key value data pairs.
|
String |
edition()
The edition of a book, long form (such as "first" or "second")
|
String[] |
editor()
The name(s) of the editor(s)
|
String |
institution()
The institution that was involved in the publishing, but not necessarily the publisher
|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
String |
journal()
The journal or magazine the work was published in
|
static Reference |
makeReference(org.jbibtex.BibTeXEntry entry)
Make a
Reference from a BibTeXEntry . |
String |
month()
The month of publication (or, if unpublished, the month of creation)
|
String |
note()
Miscellaneous extra information
|
String |
number()
The "(issue) number" of a journal, magazine, or tech-report, if applicable.
|
String |
organization()
The conference sponsor
|
String[] |
pages()
Page numbers
|
String |
publisher()
The publisher's name
|
String |
school()
The school where the thesis was written
|
String |
series()
The series of books the book was published in (e.g.
|
String |
title()
The title of the work
|
ReferenceType |
type()
The type of publication
|
String |
url()
An optional URL reference where the publication can be found.
|
String |
volume()
The volume of a journal or multi-volume book
|
String |
year()
The year of publication (or, if unpublished, the year of creation)
|
public MockReference(org.jbibtex.BibTeXEntry entry)
entry
- the BibTeXEntrypublic ReferenceType type()
ReferenceType
public String year()
public String journal()
public String booktitle()
public String edition()
public String url()
public String institution()
public String month()
public String number()
public String organization()
public String school()
public String series()
public String volume()
public String[] customData()
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
public Reference asReference()
MockReference
as a Reference
instancepublic static Reference makeReference(org.jbibtex.BibTeXEntry entry)
Reference
from a BibTeXEntry
.entry
- the BibTeXEntry
.Reference