BibEntry
This interface is used for web resources which do NOT provide BibTeX data BibEntry.
JabRef's infrastructure to convert arbitrary input data to BibTeX is Parser.
This interface inherits SearchBasedFetcher, because the methods performSearch have to be provided by both.
As non-BibTeX web fetcher one could do "magic" stuff without this helper interface and directly use WebFetcher, but this is more work.
Note that this interface "should" be an abstract class.
However, Java does not support multi inheritance with classes (but with interfaces).
We need multi inheritance, because a fetcher might implement multiple query types (such as id fetching IdBasedFetcher), complete entry EntryBasedFetcher, and search-based fetcher (this class).
| Modifier and Type | Method and Description |
|---|---|
| private List | |
| public Parser | |
| public URL | getURLForQuery(org.
the root node of the lucene query luceneQueryConstructs a URL based on the lucene query. |
| public default List | performSearch(org.
the root node of the lucene query luceneQueryImplements org. This method is used to send queries with advanced URL parameters. |
| getBibEntries | back to summary |
|---|---|
| private List | |
| getParser | back to summary |
|---|---|
| public Parser getParser() Returns the parser used to convert the response to a list of | |
| getURLForQuery | back to summary |
|---|---|
| public URL getURLForQuery(org. Constructs a URL based on the lucene query.
| |
| performSearch | back to summary |
|---|---|
| public default List Implements org. This method is used to send queries with advanced URL parameters. This method is necessary as the performSearch method does not support certain URL parameters that are used for fielded search, such as a title, author, or year parameter.
| |