- pageInfo does not appear here. It is not encoded in the mark name.
| Modifier and Type | Class and Description |
|---|---|
| public static class | Codec52.
This is what we get back from parsing a refMarkName. |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static CitationType | citationTypeFromInt(int code)
Integer representation was written into the document in JabRef52, keep it for compatibility. |
| private static int | |
| public static List | filterIsJabRefReferenceMarkName(List<String>
The list to be filtered. names)Filter a list of reference mark names by `isJabRefReferenceMarkName` |
| public static String | getUniqueMarkName(Set<String>
Reference mark names already in use. usedNames, List<String> Identifies the cited sources. citationKeys, CitationType Encodes the effect of withText and inParenthesis options.
citationType)The first occurrence of citationKeys gets no serial number, the second gets 0, the third 1 ... Or the first unused in this series, after removals. Produce a reference mark name for JabRef for the given citationType and list citation keys that does not yet appear among the reference marks of the document. |
| public static boolean | Returns: true if name matches the pattern used for JabRef reference mark names.
|
| public static Optional | Returns: Optional.empty() on failure.Parse a JabRef (reference) mark name. |
| BIB_CITATION | back to summary |
|---|---|
| private static final String BIB_CITATION | |
| CITE_PATTERN | back to summary |
|---|---|
| private static final Pattern CITE_PATTERN | |
| Codec52 | back to summary |
|---|---|
| private Codec52() | |
| citationTypeFromInt | back to summary |
|---|---|
| private static CitationType citationTypeFromInt(int code) Integer representation was written into the document in JabRef52, keep it for compatibility. | |
| citationTypeToInt | back to summary |
|---|---|
| private static int citationTypeToInt(CitationType type) | |
| filterIsJabRefReferenceMarkName | back to summary |
|---|---|
| public static List Filter a list of reference mark names by `isJabRefReferenceMarkName` | |
| getUniqueMarkName | back to summary |
|---|---|
| public static String getUniqueMarkName(Set<String> usedNames, List<String> citationKeys, CitationType citationType) Produce a reference mark name for JabRef for the given citationType and list citation keys that does not yet appear among the reference marks of the document.
| |
| isJabRefReferenceMarkName | back to summary |
|---|---|
public static boolean isJabRefReferenceMarkName(String name)
| |
| parseMarkName | back to summary |
|---|---|
| public static Optional Parse a JabRef (reference) mark name.
| |
| Modifier and Type | Field and Description |
|---|---|
| public final List | citationKeys
Citation keys embedded in the reference mark. |
| public final CitationType | citationType
in-text-citation type |
| public final String | index
"", "0", "1" ... |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| citationKeys | back to summary |
|---|---|
| public final List<String> citationKeys Citation keys embedded in the reference mark. | |
| citationType | back to summary |
|---|---|
| public final CitationType citationType in-text-citation type | |
| index | back to summary |
|---|---|
| public final String index "", "0", "1" ... | |
| ParsedMarkName | back to summary |
|---|---|
| pack-priv ParsedMarkName(String index, CitationType citationType, List<String> citationKeys) | |