Verified Owner
Top Description Fields Constructors Methods
org.jabref.model.openoffice.style

public Class CitedReference

extends Object
implements ComparableCitedReference, CitationMarkerNormEntry, CitationMarkerNumericBibEntry
Class Inheritance
All Implemented Interfaces
org.jabref.model.openoffice.style.CitationMarkerNumericBibEntry, org.jabref.model.openoffice.style.CitationMarkerNormEntry, org.jabref.model.openoffice.style.ComparableCitedReference
Annotations
@NullMarked
Imports
java.util.ArrayList, .List, .Optional, org.jabref.model.database.BibDatabase, org.jabref.model.entry.BibEntry, org.jabref.model.openoffice.ootext.OOText, org.jspecify.annotations.NullMarked

Cited references are collected from the citations in citation groups.

They contain backreferences to the corresponding citations in where. This allows the extra information generated using CitedReferences to be distributed back to the in-text citations.

Field Summary

Modifier and TypeField and Description
public final String
private Optional<CitationLookupResult>
private Optional<OOText>
private Optional<Integer>
private Optional<String>
private final List<CitationPath>

Constructor Summary

AccessConstructor and Description
pack-priv
CitedReference(String citationKey, CitationPath path, Citation citation)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
addPath(CitationPath path, Citation citation)

Appends to end of where

pack-priv void
pack-priv void
pack-priv void
public Optional<BibEntry>
public String
public List<CitationPath>
public Optional<CitationLookupResult>
getLookupResult()

Implements org.jabref.model.openoffice.style.CitationMarkerNormEntry.getLookupResult.

Result of looking up citation key in databases.

public Optional<OOText>
public Optional<Integer>
public Optional<String>
pack-priv void
public void
setNormalizedCitationMarker(Optional<OOText> normalizedCitationMarker)

public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

citationKeyback to summary
public final String citationKey
citationLookupResultback to summary
private Optional<CitationLookupResult> citationLookupResult
normalizedCitationMarkerback to summary
private Optional<OOText> normalizedCitationMarker
numberback to summary
private Optional<Integer> number
uniqueLetterback to summary
private Optional<String> uniqueLetter
whereback to summary
private final List<CitationPath> where

Constructor Detail

CitedReferenceback to summary
pack-priv CitedReference(String citationKey, CitationPath path, Citation citation)

Method Detail

addPathback to summary
pack-priv void addPath(CitationPath path, Citation citation)

Appends to end of where

distributeLookupResultback to summary
pack-priv void distributeLookupResult(CitationGroups citationGroups)
distributeNumberback to summary
pack-priv void distributeNumber(CitationGroups citationGroups)
distributeUniqueLetterback to summary
pack-priv void distributeUniqueLetter(CitationGroups citationGroups)
getBibEntryback to summary
public Optional<BibEntry> getBibEntry()

Implements org.jabref.model.openoffice.style.ComparableCitedReference.getBibEntry.

Annotations
@Override
getCitationKeyback to summary
public String getCitationKey()

Implements org.jabref.model.openoffice.style.ComparableCitedReference.getCitationKey, org.jabref.model.openoffice.style.CitationMarkerNormEntry.getCitationKey, org.jabref.model.openoffice.style.CitationMarkerNumericBibEntry.getCitationKey.

Doc from org.jabref.model.openoffice.style.CitationMarkerNormEntry.getCitationKey.

Citation key. This is what we usually get from the document.

Used if getLookupResult() returns empty, which indicates failure to lookup in the databases.

Annotations
@Override
getCitationPathsback to summary
public List<CitationPath> getCitationPaths()
getLookupResultback to summary
public Optional<CitationLookupResult> getLookupResult()

Implements org.jabref.model.openoffice.style.CitationMarkerNormEntry.getLookupResult.

Doc from org.jabref.model.openoffice.style.CitationMarkerNormEntry.getLookupResult.

Result of looking up citation key in databases.

Optional.empty() indicates unresolved citation.

Annotations
@Override
getNormalizedCitationMarkerback to summary
public Optional<OOText> getNormalizedCitationMarker()
getNumberback to summary
public Optional<Integer> getNumber()

Implements org.jabref.model.openoffice.style.CitationMarkerNumericBibEntry.getNumber.

Annotations
@Override
getUniqueLetterback to summary
public Optional<String> getUniqueLetter()
lookupInDatabasesback to summary
pack-priv void lookupInDatabases(List<BibDatabase> databases)
setNormalizedCitationMarkerback to summary
public void setNormalizedCitationMarker(Optional<OOText> normalizedCitationMarker)
setNumberback to summary
public void setNumber(Optional<Integer> number)
setUniqueLetterback to summary
public void setUniqueLetter(Optional<String> uniqueLetter)