This is the main input (as well as output) for creating citation markers and bibliography.
| Modifier and Type | Field and Description |
|---|---|
| private Optional | bibliography
This is going to be the bibliography |
| private final Map | |
| private Optional | globalOrder
Provides order of appearance for the citation groups. |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public boolean | citationGroupsProvideReferenceMarkNameForLinking()
Returns: true if all citation groups have referenceMarkNameForLinking |
| public void | createNumberedBibliographySortedByComparator(Comparator<BibEntry> entryComparator)
Precondition database lookup already performed (otherwise we just sort citation keys) |
| public void | |
| public void | createPlainBibliographySortedByComparator(Comparator<BibEntry> entryComparator)
Precondition database lookup already performed (otherwise we just sort citation keys) |
| public <T> void | distributeToCitations(List<CitationPath> where, Consumer<OOPair<Citation, T>> fun, T value)
For each citation in |
| public Optional | |
| public Optional | |
| public List | |
| public List | |
| public CitedReferences | getCitedReferencesSortedInOrderOfAppearance()
CitedReferences created iterating citations in (globalOrder,localOrder) |
| public CitedReferences | getCitedReferencesUnordered()
Collect citations into a list of cited sources using neither CitationGroup.globalOrder or Citation.localOrder |
| public List | |
| public boolean | |
| public void | imposeLocalOrder(Comparator<BibEntry> entryComparator)
Impose an order for citations within each group. |
| public void | |
| public int | |
| public void | setGlobalOrder(@NonNull List<CitationGroupId> globalOrder)
Impose an order of citation groups by providing the order of their citation group idendifiers. |
| bibliography | back to summary |
|---|---|
| private Optional<CitedReferences> bibliography This is going to be the bibliography | |
| citationGroupsUnordered | back to summary |
|---|---|
| private final Map<CitationGroupId, CitationGroup> citationGroupsUnordered | |
| globalOrder | back to summary |
|---|---|
| private Optional<List<CitationGroupId>> globalOrder Provides order of appearance for the citation groups. | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| CitationGroups | back to summary |
|---|---|
| public CitationGroups(Map<CitationGroupId, CitationGroup> citationGroups) Constructor | |
| afterCreateCitationGroup | back to summary |
|---|---|
| public void afterCreateCitationGroup(CitationGroup group) | |
| afterRemoveCitationGroup | back to summary |
|---|---|
| public void afterRemoveCitationGroup(CitationGroup group) | |
| citationGroupsProvideReferenceMarkNameForLinking | back to summary |
|---|---|
public boolean citationGroupsProvideReferenceMarkNameForLinking()
| |
| createNumberedBibliographySortedByComparator | back to summary |
|---|---|
| public void createNumberedBibliographySortedByComparator(Comparator<BibEntry> entryComparator) Precondition database lookup already performed (otherwise we just sort citation keys) | |
| createNumberedBibliographySortedInOrderOfAppearance | back to summary |
|---|---|
| public void createNumberedBibliographySortedInOrderOfAppearance() | |
| createPlainBibliographySortedByComparator | back to summary |
|---|---|
| public void createPlainBibliographySortedByComparator(Comparator<BibEntry> entryComparator) Precondition database lookup already performed (otherwise we just sort citation keys) | |
| distributeToCitations | back to summary |
|---|---|
| public <T> void distributeToCitations(List<CitationPath> where, Consumer<OOPair<Citation, T>> fun, T value) For each citation in | |
| getBibliography | back to summary |
|---|---|
| public Optional | |
| getCitationGroup | back to summary |
|---|---|
| public Optional | |
| getCitationGroupsInGlobalOrder | back to summary |
|---|---|
| public List Citation groups in | |
| getCitationGroupsUnordered | back to summary |
|---|---|
| public List | |
| getCitedReferencesSortedInOrderOfAppearance | back to summary |
|---|---|
| public CitedReferences getCitedReferencesSortedInOrderOfAppearance() CitedReferences created iterating citations in (globalOrder,localOrder) | |
| getCitedReferencesUnordered | back to summary |
|---|---|
| public CitedReferences getCitedReferencesUnordered() Collect citations into a list of cited sources using neither CitationGroup.globalOrder or Citation.localOrder | |
| getUnresolvedKeys | back to summary |
|---|---|
| public List | |
| hasGlobalOrder | back to summary |
|---|---|
| public boolean hasGlobalOrder() | |
| imposeLocalOrder | back to summary |
|---|---|
| public void imposeLocalOrder(Comparator<BibEntry> entryComparator) Impose an order for citations within each group. | |
| lookupCitations | back to summary |
|---|---|
| public void lookupCitations(List<BibDatabase> databases) | |
| numberOfCitationGroups | back to summary |
|---|---|
| public int numberOfCitationGroups() | |
| setGlobalOrder | back to summary |
|---|---|
| public void setGlobalOrder(@NonNull List<CitationGroupId> globalOrder) Impose an order of citation groups by providing the order of their citation group idendifiers. Also set indexInGlobalOrder for each citation group. | |