| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private final List | citationKeys
Record Component accessed by citationKeys(). |
| private final List | citationNumbers
Record Component accessed by citationNumbers(). |
| private final CSLCitationType | citationType
Record Component accessed by citationType(). |
| private static final Gson | |
| private static final Pattern | |
| private static final String | |
| private static final Logger | |
| private final String | |
| public static final String | |
| private static final int | |
| private static final String | |
| private static final Pattern | |
| private final String | uniqueId
Record Component accessed by uniqueId(). |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | ZoteroReferenceMark(String name, List<String> citationKeys, List<Integer> citationNumbers, String uniqueId, CSLCitationType citationType)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static String | |
| public static ZoteroReferenceMark | buildReferenceMark(List<BibEntry> entries, List<String> citationKeys, List<Integer> citationNumbers, int firstItemId, CSLCitationType citationType, BibDatabaseContext bibDatabaseContext, BibEntryTypesManager entryTypesManager, Map<String, String> zoteroUriByCitationKey)
Example: "ZOTERO_ITEM CSL_CITATION {json} RNDxxxxxxx" |
| public List | citationKeys()
Record Component getter of citationKeys. Implements org.
|
| public List | citationNumbers()
Record Component getter of citationNumbers. Implements org.
|
| public CSLCitationType | citationType()
Record Component getter of citationType. Implements org.
|
| pack-priv static String | |
| pack-priv static String | |
| private static List | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public static Map | |
| private static ZoteroCitationData | |
| pack-priv static List | |
| pack-priv static Optional | |
| pack-priv static String | |
| public static String | |
| public static int | |
| private static String | |
| public final int | |
| pack-priv static boolean | |
| public static boolean | |
| pack-priv static boolean | |
| public String | |
| private static String | |
| public static Optional | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| public String | uniqueId()
Record Component getter of uniqueId. Implements org.
|
| public static String |
| CITATION_ID_LENGTH | back to summary |
|---|---|
| private static final int CITATION_ID_LENGTH | |
| citationKeys | back to summary |
|---|---|
| private final List<String> citationKeys Record Component accessed by citationKeys(). | |
| citationNumbers | back to summary |
|---|---|
| private final List<Integer> citationNumbers Record Component accessed by citationNumbers(). | |
| citationType | back to summary |
|---|---|
| private final CSLCitationType citationType Record Component accessed by citationType(). | |
| GSON | back to summary |
|---|---|
| private static final Gson GSON | |
| ITEM_ID_PATTERN | back to summary |
|---|---|
| private static final Pattern ITEM_ID_PATTERN | |
| JABREF_URI_PREFIX | back to summary |
|---|---|
| private static final String JABREF_URI_PREFIX | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| name | back to summary |
|---|---|
| private final String name Record Component accessed by name(). | |
| PREFIX | back to summary |
|---|---|
| public static final String PREFIX | |
| RANDOM_LENGTH | back to summary |
|---|---|
| private static final int RANDOM_LENGTH | |
| RANDOM_PREFIX | back to summary |
|---|---|
| private static final String RANDOM_PREFIX | |
| RANDOM_SUFFIX_PATTERN | back to summary |
|---|---|
| private static final Pattern RANDOM_SUFFIX_PATTERN | |
| uniqueId | back to summary |
|---|---|
| private final String uniqueId Record Component accessed by uniqueId(). | |
| ZOTERO_URI_PREFIX | back to summary |
|---|---|
| private static final String ZOTERO_URI_PREFIX | |
| ZoteroReferenceMark | back to summary |
|---|---|
| public ZoteroReferenceMark(String name, List<String> citationKeys, List<Integer> citationNumbers, String uniqueId, CSLCitationType citationType) | |
| addJabRefUri | back to summary |
|---|---|
| pack-priv static String addJabRefUri(String referenceMarkName, int citationItemIndex, String jabRefUri) | |
| buildReferenceMark | back to summary |
|---|---|
| public static ZoteroReferenceMark buildReferenceMark(List<BibEntry> entries, List<String> citationKeys, List<Integer> citationNumbers, int firstItemId, CSLCitationType citationType, BibDatabaseContext bibDatabaseContext, BibEntryTypesManager entryTypesManager, Map<String, String> zoteroUriByCitationKey) Example: "ZOTERO_ITEM CSL_CITATION {json} RNDxxxxxxx" | |
| citationKeys | back to summary |
|---|---|
| public List Record Component getter of citationKeys. Implements org. | |
| citationNumbers | back to summary |
|---|---|
| public List Record Component getter of citationNumbers. Implements org. | |
| citationType | back to summary |
|---|---|
| public CSLCitationType citationType() Record Component getter of citationType. Implements org. | |
| createJabRefUri | back to summary |
|---|---|
| pack-priv static String createJabRefUri(String citationKey) | |
| createRandomSuffix | back to summary |
|---|---|
| pack-priv static String createRandomSuffix() | |
| createUris | back to summary |
|---|---|
| private static List | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| extractZoteroUriByCitationKey | back to summary |
|---|---|
| public static Map Create a map of "citationKey -> ZoteroUri". Next time JabRef cites the same citation, it will add ZoteroUri into citationItem. | |
| getCitationData | back to summary |
|---|---|
| private static ZoteroCitationData getCitationData(String referenceMarkName) | |
| getCitationItems | back to summary |
|---|---|
| pack-priv static List | |
| getCitationKey | back to summary |
|---|---|
| pack-priv static Optional | |
| getCitationKeyFromJabRefUri | back to summary |
|---|---|
| pack-priv static String getCitationKeyFromJabRefUri(String uri) | |
| getCSLJson | back to summary |
|---|---|
| public static String getCSLJson(String referenceMarkName) | |
| getMaxItemId | back to summary |
|---|---|
| public static int getMaxItemId(String referenceMarkName) | |
| getSuffix | back to summary |
|---|---|
| private static String getSuffix(String referenceMarkName) | |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| isJabRefUri | back to summary |
|---|---|
| pack-priv static boolean isJabRefUri(String uri) | |
| isZoteroReferenceMarkName | back to summary |
|---|---|
| public static boolean isZoteroReferenceMarkName(String name) Hides org. | |
| isZoteroUri | back to summary |
|---|---|
| pack-priv static boolean isZoteroUri(String uri) | |
| name | back to summary |
|---|---|
| public String name() Record Component getter of name. Implements org. | |
| normalizeZoteroItemId | back to summary |
|---|---|
| private static String normalizeZoteroItemId(String itemId) | |
| parse | back to summary |
|---|---|
| public static Optional | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| uniqueId | back to summary |
|---|---|
| public String uniqueId() Record Component getter of uniqueId. Implements org. | |
| updateCitationType | back to summary |
|---|---|
| public static String updateCitationType(String referenceMarkName, CSLCitationType citationType) | |