| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | BibEntryTypesManager.
This class is used to specify entry types for either BIBTEX and BIBLATEX. |
| Modifier and Type | Field and Description |
|---|---|
| private final BibEntryTypesManager. | |
| private final BibEntryTypesManager. | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | addCustomOrModifiedTypes(List<BibEntryType> customizedEntryTypes, BibDatabaseMode mode)
Sets the given custom entry types for BibTeX and biblatex mode |
| public void | |
| public Optional | enrich(EntryType type, BibDatabaseMode
the mode of the BibDatabase, may be null mode)This method returns the BibEntryType for the entry type. |
| public Collection | getAllCustomizedTypes(BibDatabaseMode mode)
Returns all types which are customized (be it a variant of a standard type or a completely new type) |
| public List | Returns: the list of all found custom typesthe BibDatabaseMode to be checked mode)For a given database mode, determine all custom entry types, i.e. types that are not overwritten standard types but real custom types. |
| public Collection | |
| pack-priv BibEntryTypesManager. | |
| public boolean | isCustomOrModifiedType(BibEntryType type, BibDatabaseMode mode)
Returns true if the type is a custom type, or if it is a standard type which has different customized fields |
| public boolean | isCustomType(EntryType type, BibDatabaseMode mode)
Checks if the given type is NOT a standard type AND customized inside the entry types manager. |
| public boolean | isCustomType(BibEntryType type, BibDatabaseMode mode)
Checks if the given type is NOT a standard type AND customized inside the entry types manager. |
| public boolean | Returns: true if the given type is unknown here or is different from the stored oneRequired to check if during load of a .bib file the customization of the entry type is different |
| public void | |
| public void |
| BIBLATEX_ENTRYTYPES | back to summary |
|---|---|
| private final BibEntryTypesManager. | |
| BIBTEX_ENTRYTYPES | back to summary |
|---|---|
| private final BibEntryTypesManager. | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| BibEntryTypesManager | back to summary |
|---|---|
| public BibEntryTypesManager() | |
| addCustomOrModifiedType | back to summary |
|---|---|
| public void addCustomOrModifiedType(BibEntryType entryType, BibDatabaseMode mode) | |
| addCustomOrModifiedTypes | back to summary |
|---|---|
| public void addCustomOrModifiedTypes(List<BibEntryType> customizedEntryTypes, BibDatabaseMode mode) Sets the given custom entry types for BibTeX and biblatex mode | |
| clearAllCustomEntryTypes | back to summary |
|---|---|
| public void clearAllCustomEntryTypes(BibDatabaseMode mode) | |
| enrich | back to summary |
|---|---|
| public Optional This method returns the BibEntryType for the entry type.
| |
| getAllCustomizedTypes | back to summary |
|---|---|
| public Collection Returns all types which are customized (be it a variant of a standard type or a completely new type) | |
| getAllCustomTypes | back to summary |
|---|---|
| public List For a given database mode, determine all custom entry types, i.e. types that are not overwritten standard types but real custom types. For example, a modified "article" type will not be included in the list, but an entry type like "MyCustomType" will be included.
| |
| getAllTypes | back to summary |
|---|---|
| public Collection Returns all types known to JabRef. This includes the standard types as well as the customized types | |
| getEntryTypes | back to summary |
|---|---|
pack-priv BibEntryTypesManager.
| |
| isCustomOrModifiedType | back to summary |
|---|---|
| public boolean isCustomOrModifiedType(BibEntryType type, BibDatabaseMode mode) Returns true if the type is a custom type, or if it is a standard type which has different customized fields | |
| isCustomType | back to summary |
|---|---|
| public boolean isCustomType(EntryType type, BibDatabaseMode mode) Checks if the given type is NOT a standard type AND customized inside the entry types manager. There might be also types not known to the entry types manager, which are neither standard nor customized. | |
| isCustomType | back to summary |
|---|---|
| public boolean isCustomType(BibEntryType type, BibDatabaseMode mode) Checks if the given type is NOT a standard type AND customized inside the entry types manager. There might be also types not known to the entry types manager, which are neither standard nor customized. | |
| isDifferentCustomOrModifiedType | back to summary |
|---|---|
| public boolean isDifferentCustomOrModifiedType(BibEntryType type, BibDatabaseMode mode) Required to check if during load of a .bib file the customization of the entry type is different
| |
| removeCustomOrModifiedEntryType | back to summary |
|---|---|
| public void removeCustomOrModifiedEntryType(BibEntryType entryType, BibDatabaseMode mode) | |
| update | back to summary |
|---|---|
| public void update(BibEntryType entryType, BibDatabaseMode mode) Updates the internal list. In case the given entry type equals a standard type, it is removed from the list of customized types. Otherwise, it is stored as customized. | |
| Modifier and Type | Field and Description |
|---|---|
| private final SortedSet | |
| pack-priv final Set |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private Optional | |
| private SortedSet | getAllCustomizedTypes()
Returns all types which are customized (be it a variant of a standard type or a completely new type) |
| private List | |
| private SortedSet | |
| private Optional | |
| private boolean | |
| private boolean | |
| private boolean | |
| private void | |
| pack-priv static Predicate |
| customOrModifiedType | back to summary |
|---|---|
| private final SortedSet<BibEntryType> customOrModifiedType | |
| standardTypes | back to summary |
|---|---|
| pack-priv final Set<BibEntryType> standardTypes
| |
| InternalEntryTypes | back to summary |
|---|---|
| private InternalEntryTypes(List<BibEntryType> standardTypes) | |
| addCustomOrModifiedType | back to summary |
|---|---|
| private void addCustomOrModifiedType(BibEntryType type) | |
| clearAllCustomEntryTypes | back to summary |
|---|---|
| private void clearAllCustomEntryTypes() | |
| enrich | back to summary |
|---|---|
| private Optional This method returns the BibtexEntryType for the name of a type, or an empty optional if it does not exist. | |
| getAllCustomizedTypes | back to summary |
|---|---|
| private SortedSet Returns all types which are customized (be it a variant of a standard type or a completely new type) | |
| getAllCustomTypes | back to summary |
|---|---|
| private List | |
| getAllTypes | back to summary |
|---|---|
| private SortedSet Returns all types known to JabRef. This includes the standard types as well as the customized types | |
| getStandardType | back to summary |
|---|---|
| private Optional | |
| isCustomOrModifiedType | back to summary |
|---|---|
| private boolean isCustomOrModifiedType(BibEntryType entryType) | |
| isStandardType | back to summary |
|---|---|
| private boolean isStandardType(BibEntryType entryType) | |
| isStandardType | back to summary |
|---|---|
| private boolean isStandardType(EntryType entryType) | |
| removeCustomOrModifiedEntryType | back to summary |
|---|---|
| private void removeCustomOrModifiedEntryType(BibEntryType type) | |
| typeEquals | back to summary |
|---|---|
| pack-priv static Predicate | |