| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| public static final String | |
| private final ImporterPreferences | |
| private static final Logger | |
| private @Nullable ScopusQueryTransformer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private URL | buildSearchURL(String
the query string to pass directly as the rawQuery, int query parameterzero based page number; converted to a zero based pageNumber)start offset.Builds the Scopus search API URL for the given raw query string and page number. |
| private StandardEntryType | Returns: appropriate StandardEntryTypethe aggregation type (Journal, Book, Conference Proceeding, etc.) aggregationType, String the document subtype (ar, cp, re, etc.) subtype)Determines the BibTeX entry type based on Scopus aggregationType and subtype. |
| private List | fetchEntries(String
the value placed verbatim into the Scopus query, int query parameterzero based page number pageNumber)Downloads and parses Scopus search results for an already built query string |
| public String | getName()
Implements org. Returns the localized name of this fetcher. |
| public Parser | getParser()
Implements org. Returns the parser used to convert the response to a list of |
| public String | |
| public URL | Returns: URL for the Scopus API requestthe search query node queryNode, int the page number (0-indexed) pageNumber)Implements org. Constructs a URL for querying the Scopus Search API. |
| public URL | getURLForRawQuery(String rawQuery, int pageNumber)
Overrides default org. Sends the raw, catalog-native query verbatim as Scopus's |
| private Optional | Returns: Optional containing the BibEntry, or empty if parsing failsthe JSON object representing a Scopus search result jsonEntryParses a single Scopus JSON entry into a BibEntry. |
| public List | performSearch(BaseQueryNode queryNode)
Overrides default org. This method is used to send queries with advanced URL parameters. |
| public Page | performSearchPaged(BaseQueryNode queryNode, int pageNumber)
Overrides default org.
|
| private boolean | shouldIncludeEntry(BibEntry entry, ScopusQueryTransformer transformer)
Checks if the entry should be included based on year filtering. |
| API_URL | back to summary |
|---|---|
| private static final String API_URL | |
| FETCHER_NAME | back to summary |
|---|---|
| public static final String FETCHER_NAME | |
| importerPreferences | back to summary |
|---|---|
| private final ImporterPreferences importerPreferences | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| transformer | back to summary |
|---|---|
| private @Nullable ScopusQueryTransformer transformer | |
| Scopus | back to summary |
|---|---|
| public Scopus(ImporterPreferences importerPreferences) | |
| buildSearchURL | back to summary |
|---|---|
| private URL buildSearchURL(String rawQuery, int pageNumber) throws URISyntaxException, MalformedURLException Builds the Scopus search API URL for the given raw query string and page number.
The raw query is sent verbatim as the
| |
| determineEntryType | back to summary |
|---|---|
| private StandardEntryType determineEntryType(String aggregationType, String subtype) Determines the BibTeX entry type based on Scopus aggregationType and subtype.
| |
| fetchEntries | back to summary |
|---|---|
| private List Downloads and parses Scopus search results for an already built query string
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Returns the localized name of this fetcher. The title can be used to display the fetcher in the menu and in the side pane. Todo This name is also used for identifying the fetcher in preferences for API keys. Thus, any switch of the language will "remove" API keys.
| |
| getParser | back to summary |
|---|---|
| public Parser getParser() Implements org. Doc from org. Returns the parser used to convert the response to a list of
| |
| getTestUrl | back to summary |
|---|---|
| public String getTestUrl() | |
| getURLForQuery | back to summary |
|---|---|
| public URL getURLForQuery(BaseQueryNode queryNode, int pageNumber) throws URISyntaxException, MalformedURLException Implements org. Constructs a URL for querying the Scopus Search API.
| |
| getURLForRawQuery | back to summary |
|---|---|
| public URL getURLForRawQuery(String rawQuery, int pageNumber) throws URISyntaxException, MalformedURLException Overrides default org. Sends the raw, catalog-native query verbatim as Scopus's
| |
| parseScopusEntry | back to summary |
|---|---|
| private Optional Parses a single Scopus JSON entry into a BibEntry. | |
| performSearch | back to summary |
|---|---|
| public List Overrides default org. Doc from 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.
| |
| performSearchPaged | back to summary |
|---|---|
| public Page Overrides default org.
| |
| shouldIncludeEntry | back to summary |
|---|---|
| private boolean shouldIncludeEntry(BibEntry entry, ScopusQueryTransformer transformer) Checks if the entry should be included based on year filtering. | |