1) Each OO BIB entry type must have a formatting. A formatting is an array of elements, each of which is either a piece of constant text, an entry field value, or a tab. Each element has a character format associated with it.
2) Many field values (e.g. author) need to be formatted before input to OpenOffice. The style has the responsibility of formatting all field values. Formatting is handled by 0-n JabRef LayoutFormatter classes.
3) If the entries are not numbered, a citation marker must be produced for each entry. This operation is performed for each JabRef BibEntry.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final JournalAbbreviationRepository | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private final Map | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private final Map | |
| private static final String | |
| private Layout | |
| public static final String | |
| private final LayoutFormatter | |
| private static final String | |
| private final boolean | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private boolean | |
| private static final String | |
| public static final String | |
| private final SortedSet | |
| private static final String | |
| private static final String | |
| private final LayoutFormatterPreferences | |
| private String | |
| private static final Logger | |
| private static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| private String | |
| private static final String | |
| private static final Pattern | |
| private static final String | |
| private static final String | |
| private final String | |
| private final Map | |
| private static final String | |
| private static final Pattern | |
| public static final String | |
| public static final String | |
| private static final String | |
| private static final String | |
| private Path | |
| private long | |
| private static final String | |
| private static final String | |
| public static final String | |
| public static final String | |
| private static final String | |
| private boolean | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | OOBibStyle(Path styleFile, LayoutFormatterPreferences layoutPreferences, JournalAbbreviationRepository abbreviationRepository)
|
| public | OOBibStyle(String resourcePath, LayoutFormatterPreferences layoutPreferences, JournalAbbreviationRepository abbreviationRepository)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public int | compareTo(OOBibStyle
the object to be compared. other)Implements java. Compares this object with the specified object for order. |
| public OOText | Returns: The formatted citation. The result does not include the standard wrappers: OOFormat.setLocaleNone() and OOFormat.setCharStyle(). These are added by decorateCitationMarker()The list of entries providing the
data. citationMarkerEntries, boolean Signals whether a parenthesized citation
or an in-text citation is wanted. inParenthesis, NonUniqueCitationMarker THROWS : Should throw if finds that uniqueLetters
provided do not make the entries unique.
FORGIVEN : is needed to allow preliminary markers
for freshly inserted citations without
going throw the uniquefication process. nonUniqueCitationMarkerHandling)Format the marker for the in-text citation according to this BIB style. |
| public OOText | decorateCitationMarker(OOText citationText)
Add setLocaleNone and optionally setCharStyle(CitationCharacterFormat) around citationText. |
| public void | ensureUpToDate()
If this style was initialized from a file on disk, reload the style if the file has been modified since it was read. |
| public boolean | equals(Object
the reference object with which to compare. object)Overrides java. Indicates whether some other object is "equal to" this one. |
| protected OrFields | Returns: Names of fields containing authors: the first non-empty field will be used.
|
| protected String | |
| protected String | |
| public String | |
| public String | |
| public String | |
| public String | |
| protected String | getAuthorSeparator()
The String to add between author names except the last two: "[Smith{, }Jones and Brown]" |
| public String | |
| public String | |
| protected Map | |
| public boolean | |
| protected String | |
| private String | |
| pack-priv String | |
| protected String | |
| private String | |
| public String | |
| public String | |
| public String | |
| public String | |
| protected String | |
| protected Map | |
| public Layout | |
| public String | |
| protected LayoutFormatter | |
| public Path | |
| public OOText | |
| public String | |
| public int | |
| protected boolean | |
| public boolean | |
| public Set | |
| protected LayoutFormatterPreferences | |
| public String | |
| protected int | getMaxAuthors()
The maximum number of authors to write out in full without using "et al." Set to -1 to always write out all authors. |
| public int | |
| public int | getMinimumGroupingCount()
Minimal number of consecutive citation numbers needed to start replacing with an range like "10-13". |
| public boolean | |
| public String | |
| public OOText | |
| public OOText | Returns: The text for the citation.Format a number-based citation marker for the given entries. |
| public OOText | getNumCitationMarker2(List<CitationMarkerNumericEntry> entries, int minGroupingCount)
For some tests we need to override minGroupingCount. |
| public OOText | getNumCitationMarkerForBibliography(CitationMarkerNumericBibEntry entry)
Format a number-based bibliography label for the given number. |
| protected String | getOxfordComma()
The String to put after the second to last author in case of three or more authors: (A, B{,} and C) |
| protected String | |
| public String | |
| protected Map | |
| public Object | Returns: The property value, or null if it doesn't exist.The property name. propName)Get a style property. |
| public Layout | |
| public String | getReferenceHeaderParagraphFormat()
Name of paragraph format (within OO/LO) to be used for the title of the bibliography. |
| public OOText | |
| public String | getReferenceParagraphFormat()
Name of paragraph format (within OO/LO) to be used for the entries in the bibliography. |
| public String | |
| private String | |
| protected String | |
| protected OrFields | |
| protected String | |
| protected String | |
| private void | |
| private void | handlePropertiesLine(String
The line containing the formatter names. line, Map<String, Object> map)Parse a line providing a property name and value. |
| private void | handleStructureLine(String
The string containing the structure description. line)Parse a line providing bibliography structure information for an entry type. |
| public int | |
| private void | |
| public boolean | Returns: true to indicate that citations should be in bold.Convenience method for checking whether citation markers should be bold. |
| public boolean | |
| public boolean | Returns: true to indicate that citations should be in italics.Convenience method for checking whether citation markers formatted according to the results of the isItalicCitations() and isBoldCitations() methods. |
| public boolean | |
| public boolean | Returns: true to indicate that citations should be in italics.Convenience method for checking whether citation markers should be italicized. |
| public boolean | Returns: true if we use numbered citations, false otherwise.Convenience method for checking the property for whether we use number citations or author-year citations. |
| public boolean | Returns: true to sort by appearance, false to sort alphabetically.Convenience method for checking the property for whether we sort the bibliography according to their order of appearance in the text. |
| private boolean | Returns: true if the file has not been modified, false otherwise.If this style was initialized from a file on disk, check whether the file is unmodified since initialization. |
| public boolean | Returns: true if the file could be parsed as a style file, false otherwise.After initializing this style from a file, this method can be used to check whether the file appeared to be a proper style file. |
| private void | |
| private void | |
| protected void | |
| private void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| public boolean |
| abbreviationRepository | back to summary |
|---|---|
| private final JournalAbbreviationRepository abbreviationRepository | |
| AUTHOR_FIELD | back to summary |
|---|---|
| private static final String AUTHOR_FIELD | |
| AUTHOR_LAST_SEPARATOR | back to summary |
|---|---|
| private static final String AUTHOR_LAST_SEPARATOR | |
| AUTHOR_LAST_SEPARATOR_IN_TEXT | back to summary |
|---|---|
| private static final String AUTHOR_LAST_SEPARATOR_IN_TEXT | |
| AUTHOR_NAME_MARKUP_AFTER | back to summary |
|---|---|
| private static final String AUTHOR_NAME_MARKUP_AFTER | |
| AUTHOR_NAME_MARKUP_BEFORE | back to summary |
|---|---|
| private static final String AUTHOR_NAME_MARKUP_BEFORE | |
| AUTHOR_NAMES_LIST_MARKUP_AFTER | back to summary |
|---|---|
| private static final String AUTHOR_NAMES_LIST_MARKUP_AFTER | |
| AUTHOR_NAMES_LIST_MARKUP_BEFORE | back to summary |
|---|---|
| private static final String AUTHOR_NAMES_LIST_MARKUP_BEFORE | |
| AUTHOR_SEPARATOR | back to summary |
|---|---|
| private static final String AUTHOR_SEPARATOR | |
| AUTHORS_PART_MARKUP_AFTER | back to summary |
|---|---|
| private static final String AUTHORS_PART_MARKUP_AFTER | |
| AUTHORS_PART_MARKUP_BEFORE | back to summary |
|---|---|
| private static final String AUTHORS_PART_MARKUP_BEFORE | |
| bibLayout | back to summary |
|---|---|
| private final Map<EntryType, Layout> bibLayout | |
| BOLD_CITATIONS | back to summary |
|---|---|
| private static final String BOLD_CITATIONS | |
| BRACKET_AFTER | back to summary |
|---|---|
| private static final String BRACKET_AFTER | |
| BRACKET_AFTER_IN_LIST | back to summary |
|---|---|
| private static final String BRACKET_AFTER_IN_LIST | |
| BRACKET_BEFORE | back to summary |
|---|---|
| private static final String BRACKET_BEFORE | |
| BRACKET_BEFORE_IN_LIST | back to summary |
|---|---|
| private static final String BRACKET_BEFORE_IN_LIST | |
| CITATION_CHARACTER_FORMAT | back to summary |
|---|---|
| private static final String CITATION_CHARACTER_FORMAT | |
| CITATION_GROUP_MARKUP_AFTER | back to summary |
|---|---|
| private static final String CITATION_GROUP_MARKUP_AFTER | |
| CITATION_GROUP_MARKUP_BEFORE | back to summary |
|---|---|
| private static final String CITATION_GROUP_MARKUP_BEFORE | |
| CITATION_KEY_CITATIONS | back to summary |
|---|---|
| private static final String CITATION_KEY_CITATIONS | |
| CITATION_MARK | back to summary |
|---|---|
| private static final String CITATION_MARK | |
| CITATION_SEPARATOR | back to summary |
|---|---|
| private static final String CITATION_SEPARATOR | |
| citProperties | back to summary |
|---|---|
| private final Map<String, Object> citProperties | |
| DEFAULT_MARK | back to summary |
|---|---|
| private static final String DEFAULT_MARK | |
| defaultBibLayout | back to summary |
|---|---|
| private Layout defaultBibLayout | |
| ET_AL_STRING | back to summary |
|---|---|
| public static final String ET_AL_STRING | |
| fieldFormatter | back to summary |
|---|---|
| private final LayoutFormatter fieldFormatter | |
| FORMAT_CITATIONS | back to summary |
|---|---|
| private static final String FORMAT_CITATIONS | |
| fromResource | back to summary |
|---|---|
| private final boolean fromResource | |
| GROUPED_NUMBERS_SEPARATOR | back to summary |
|---|---|
| private static final String GROUPED_NUMBERS_SEPARATOR | |
| IN_TEXT_YEAR_SEPARATOR | back to summary |
|---|---|
| private static final String IN_TEXT_YEAR_SEPARATOR | |
| IS_NUMBER_ENTRIES | back to summary |
|---|---|
| private static final String IS_NUMBER_ENTRIES | |
| IS_SORT_BY_POSITION | back to summary |
|---|---|
| private static final String IS_SORT_BY_POSITION | |
| isDefaultLayoutPresent | back to summary |
|---|---|
| private boolean isDefaultLayoutPresent | |
| ITALIC_CITATIONS | back to summary |
|---|---|
| private static final String ITALIC_CITATIONS | |
| ITALIC_ET_AL | back to summary |
|---|---|
| public static final String ITALIC_ET_AL | |
| journals | back to summary |
|---|---|
| private final SortedSet<String> journals | |
| JOURNALS_MARK | back to summary |
|---|---|
| private static final String JOURNALS_MARK | |
| LAYOUT_MRK | back to summary |
|---|---|
| private static final String LAYOUT_MRK | |
| layoutPreferences | back to summary |
|---|---|
| private final LayoutFormatterPreferences layoutPreferences | |
| localCopy | back to summary |
|---|---|
| private String localCopy | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| MAX_AUTHORS | back to summary |
|---|---|
| private static final String MAX_AUTHORS | |
| MAX_AUTHORS_FIRST | back to summary |
|---|---|
| public static final String MAX_AUTHORS_FIRST | |
| MINIMUM_GROUPING_COUNT | back to summary |
|---|---|
| public static final String MINIMUM_GROUPING_COUNT | |
| MULTI_CITE_CHRONOLOGICAL | back to summary |
|---|---|
| public static final String MULTI_CITE_CHRONOLOGICAL | |
| name | back to summary |
|---|---|
| private String name | |
| NAME_MARK | back to summary |
|---|---|
| private static final String NAME_MARK | |
| NUM_PATTERN | back to summary |
|---|---|
| private static final Pattern NUM_PATTERN | |
| OXFORD_COMMA | back to summary |
|---|---|
| private static final String OXFORD_COMMA | |
| PAGE_INFO_SEPARATOR | back to summary |
|---|---|
| private static final String PAGE_INFO_SEPARATOR | |
| path | back to summary |
|---|---|
| private final String path | |
| properties | back to summary |
|---|---|
| private final Map<String, Object> properties | |
| PROPERTIES_MARK | back to summary |
|---|---|
| private static final String PROPERTIES_MARK | |
| QUOTED | back to summary |
|---|---|
| private static final Pattern QUOTED | |
| REFERENCE_HEADER_PARAGRAPH_FORMAT | back to summary |
|---|---|
| public static final String REFERENCE_HEADER_PARAGRAPH_FORMAT | |
| REFERENCE_PARAGRAPH_FORMAT | back to summary |
|---|---|
| public static final String REFERENCE_PARAGRAPH_FORMAT | |
| SORT_ALGORITHM | back to summary |
|---|---|
| private static final String SORT_ALGORITHM | |
| SPACE_BEFORE | back to summary |
|---|---|
| private static final String SPACE_BEFORE | |
| styleFile | back to summary |
|---|---|
| private Path styleFile | |
| styleFileModificationTime | back to summary |
|---|---|
| private long styleFileModificationTime | |
| SUBSCRIPT_CITATIONS | back to summary |
|---|---|
| private static final String SUBSCRIPT_CITATIONS | |
| SUPERSCRIPT_CITATIONS | back to summary |
|---|---|
| private static final String SUPERSCRIPT_CITATIONS | |
| TITLE | back to summary |
|---|---|
| public static final String TITLE | |
| UNDEFINED_CITATION_MARKER | back to summary |
|---|---|
| public static final String UNDEFINED_CITATION_MARKER | |
| UNIQUEFIER_SEPARATOR | back to summary |
|---|---|
| private static final String UNIQUEFIER_SEPARATOR | |
| valid | back to summary |
|---|---|
| private boolean valid | |
| YEAR_FIELD | back to summary |
|---|---|
| private static final String YEAR_FIELD | |
| YEAR_SEPARATOR | back to summary |
|---|---|
| private static final String YEAR_SEPARATOR | |
| OOBibStyle | back to summary |
|---|---|
| public OOBibStyle(Path styleFile, LayoutFormatterPreferences layoutPreferences, JournalAbbreviationRepository abbreviationRepository) throws IOException | |
| OOBibStyle | back to summary |
|---|---|
| public OOBibStyle(String resourcePath, LayoutFormatterPreferences layoutPreferences, JournalAbbreviationRepository abbreviationRepository) throws IOException | |
| addJournal | back to summary |
|---|---|
| protected void addJournal(String journalName) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(OOBibStyle other) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| createCitationMarker | back to summary |
|---|---|
| public OOText createCitationMarker(List<CitationMarkerEntry> citationMarkerEntries, boolean inParenthesis, NonUniqueCitationMarker nonUniqueCitationMarkerHandling) Format the marker for the in-text citation according to this BIB style. Uniquefier letters are added as provided by the citationMarkerEntries argument. If successive entries within the citation are uniquefied from each other, this method will perform a grouping of these entries. If successive entries within the citation are uniquefied from each other, this method will perform a grouping of these entries.
| |
| decorateCitationMarker | back to summary |
|---|---|
| public OOText decorateCitationMarker(OOText citationText) Add setLocaleNone and optionally setCharStyle(CitationCharacterFormat) around citationText. Called in fillCitationMarkInCursor, so these are also applied to "Unresolved()" entries and numeric styles. | |
| ensureUpToDate | back to summary |
|---|---|
| public void ensureUpToDate() throws IOException If this style was initialized from a file on disk, reload the style if the file has been modified since it was read. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object object) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getAuthorFieldNames | back to summary |
|---|---|
protected OrFields getAuthorFieldNames()
| |
| getAuthorLastSeparator | back to summary |
|---|---|
| protected String getAuthorLastSeparator() | |
| getAuthorLastSeparatorInTextWithFallBack | back to summary |
|---|---|
| protected String getAuthorLastSeparatorInTextWithFallBack() | |
| getAuthorNameMarkupAfter | back to summary |
|---|---|
| public String getAuthorNameMarkupAfter() | |
| getAuthorNameMarkupBefore | back to summary |
|---|---|
| public String getAuthorNameMarkupBefore() Author names. Excludes Author separators | |
| getAuthorNamesListMarkupAfter | back to summary |
|---|---|
| public String getAuthorNamesListMarkupAfter() | |
| getAuthorNamesListMarkupBefore | back to summary |
|---|---|
| public String getAuthorNamesListMarkupBefore() Author list, excluding " et al." | |
| getAuthorSeparator | back to summary |
|---|---|
| protected String getAuthorSeparator() The String to add between author names except the last two: "[Smith{, }Jones and Brown]" | |
| getAuthorsPartMarkupAfter | back to summary |
|---|---|
| public String getAuthorsPartMarkupAfter() | |
| getAuthorsPartMarkupBefore | back to summary |
|---|---|
| public String getAuthorsPartMarkupBefore() Author list, including " et al." | |
| getBibLayout | back to summary |
|---|---|
| protected Map | |
| getBooleanCitProperty | back to summary |
|---|---|
| public boolean getBooleanCitProperty(String key) Get boolean property.
| |
| getBracketAfter | back to summary |
|---|---|
| protected String getBracketAfter() Closing parenthesis after citation | |
| getBracketAfterInList | back to summary |
|---|---|
| private String getBracketAfterInList() Closing parenthesis after citation marker in the bibliography | |
| getBracketAfterInListWithFallBack | back to summary |
|---|---|
| pack-priv String getBracketAfterInListWithFallBack() | |
| getBracketBefore | back to summary |
|---|---|
| protected String getBracketBefore() Opening parenthesis before citation (or year, for in-text) | |
| getBracketBeforeInList | back to summary |
|---|---|
| private String getBracketBeforeInList() Opening parenthesis before citation marker in the bibliography. | |
| getBracketBeforeInListWithFallBack | back to summary |
|---|---|
| public String getBracketBeforeInListWithFallBack() | |
| getCitationCharacterFormat | back to summary |
|---|---|
| public String getCitationCharacterFormat() | |
| getCitationGroupMarkupAfter | back to summary |
|---|---|
| public String getCitationGroupMarkupAfter() | |
| getCitationGroupMarkupBefore | back to summary |
|---|---|
| public String getCitationGroupMarkupBefore() Should citation markers be italicized? | |
| getCitationSeparator | back to summary |
|---|---|
| protected String getCitationSeparator() | |
| getCitProperties | back to summary |
|---|---|
| protected Map | |
| getDefaultBibLayout | back to summary |
|---|---|
| public Layout getDefaultBibLayout() | |
| getEtAlString | back to summary |
|---|---|
| public String getEtAlString() The String to represent authors that are not mentioned, e.g. " et al." | |
| getFieldFormatter | back to summary |
|---|---|
| protected LayoutFormatter getFieldFormatter() | |
| getFile | back to summary |
|---|---|
| public Path getFile() | |
| getFormattedBibliographyTitle | back to summary |
|---|---|
| public OOText getFormattedBibliographyTitle() | |
| getGroupedNumbersSeparator | back to summary |
|---|---|
| public String getGroupedNumbersSeparator() Used in number ranges like "10-13" in numbered citations. | |
| getIntCitProperty | back to summary |
|---|---|
| public int getIntCitProperty(String key) | |
| getIsDefaultLayoutPresent | back to summary |
|---|---|
| protected boolean getIsDefaultLayoutPresent() | |
| getItalicEtAl | back to summary |
|---|---|
| public boolean getItalicEtAl() | |
| getJournals | back to summary |
|---|---|
| public Set | |
| getLayoutPreferences | back to summary |
|---|---|
| protected LayoutFormatterPreferences getLayoutPreferences() | |
| getLocalCopy | back to summary |
|---|---|
| public String getLocalCopy() | |
| getMaxAuthors | back to summary |
|---|---|
| protected int getMaxAuthors() The maximum number of authors to write out in full without using "et al." Set to -1 to always write out all authors. | |
| getMaxAuthorsFirst | back to summary |
|---|---|
| public int getMaxAuthorsFirst() | |
| getMinimumGroupingCount | back to summary |
|---|---|
| public int getMinimumGroupingCount() Minimal number of consecutive citation numbers needed to start replacing with an range like "10-13". | |
| getMultiCiteChronological | back to summary |
|---|---|
| public boolean getMultiCiteChronological() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getNormalizedCitationMarker | back to summary |
|---|---|
| public OOText getNormalizedCitationMarker(CitationMarkerNormEntry entry) | |
| getNumCitationMarker2 | back to summary |
|---|---|
| public OOText getNumCitationMarker2(List<CitationMarkerNumericEntry> entries) Format a number-based citation marker for the given entries.
| |
| getNumCitationMarker2 | back to summary |
|---|---|
| public OOText getNumCitationMarker2(List<CitationMarkerNumericEntry> entries, int minGroupingCount) For some tests we need to override minGroupingCount. | |
| getNumCitationMarkerForBibliography | back to summary |
|---|---|
| public OOText getNumCitationMarkerForBibliography(CitationMarkerNumericBibEntry entry) Format a number-based bibliography label for the given number. | |
| getOxfordComma | back to summary |
|---|---|
| protected String getOxfordComma() The String to put after the second to last author in case of three or more authors: (A, B{,} and C) | |
| getPageInfoSeparator | back to summary |
|---|---|
| protected String getPageInfoSeparator() | |
| getPath | back to summary |
|---|---|
| public String getPath() | |
| getProperties | back to summary |
|---|---|
| protected Map | |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String propName) Get a style property. | |
| getReferenceFormat | back to summary |
|---|---|
| public Layout getReferenceFormat(EntryType type) | |
| getReferenceHeaderParagraphFormat | back to summary |
|---|---|
| public String getReferenceHeaderParagraphFormat() Name of paragraph format (within OO/LO) to be used for the title of the bibliography. | |
| getReferenceHeaderText | back to summary |
|---|---|
| public OOText getReferenceHeaderText() Title for the bibliography. | |
| getReferenceParagraphFormat | back to summary |
|---|---|
| public String getReferenceParagraphFormat() Name of paragraph format (within OO/LO) to be used for the entries in the bibliography. | |
| getStringCitProperty | back to summary |
|---|---|
| public String getStringCitProperty(String key) | |
| getStringProperty | back to summary |
|---|---|
| private String getStringProperty(String propName) | |
| getUniquefierSeparator | back to summary |
|---|---|
| protected String getUniquefierSeparator() | |
| getYearFieldNames | back to summary |
|---|---|
protected OrFields getYearFieldNames()
| |
| getYearSeparator | back to summary |
|---|---|
| protected String getYearSeparator() | |
| getYearSeparatorInText | back to summary |
|---|---|
| protected String getYearSeparatorInText() | |
| handleJournalsLine | back to summary |
|---|---|
| private void handleJournalsLine(String line) Parse a line providing a journal name for which this style is valid. | |
| handlePropertiesLine | back to summary |
|---|---|
| private void handlePropertiesLine(String line, Map<String, Object> map) Parse a line providing a property name and value.
| |
| handleStructureLine | back to summary |
|---|---|
| private void handleStructureLine(String line) Parse a line providing bibliography structure information for an entry type.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| initialize | back to summary |
|---|---|
| private void initialize(InputStream stream) throws IOException | |
| isBoldCitations | back to summary |
|---|---|
| public boolean isBoldCitations() Convenience method for checking whether citation markers should be bold. Will only be relevant if isFormatCitations() returns true.
| |
| isCitationKeyCiteMarkers | back to summary |
|---|---|
| public boolean isCitationKeyCiteMarkers() | |
| isFormatCitations | back to summary |
|---|---|
| public boolean isFormatCitations() Convenience method for checking whether citation markers formatted according to the results of the isItalicCitations() and isBoldCitations() methods.
| |
| isInternalStyle | back to summary |
|---|---|
| public boolean isInternalStyle() Indicate if it is an internal style
| |
| isItalicCitations | back to summary |
|---|---|
| public boolean isItalicCitations() Convenience method for checking whether citation markers should be italicized. Will only be relevant if isFormatCitations() returns true.
| |
| isNumberEntries | back to summary |
|---|---|
| public boolean isNumberEntries() Convenience method for checking the property for whether we use number citations or author-year citations.
| |
| isSortByPosition | back to summary |
|---|---|
| public boolean isSortByPosition() Convenience method for checking the property for whether we sort the bibliography according to their order of appearance in the text.
| |
| isUpToDate | back to summary |
|---|---|
| private boolean isUpToDate() If this style was initialized from a file on disk, check whether the file is unmodified since initialization.
| |
| isValid | back to summary |
|---|---|
| public boolean isValid() After initializing this style from a file, this method can be used to check whether the file appeared to be a proper style file.
| |
| readFormatFile | back to summary |
|---|---|
| private void readFormatFile(Reader input) throws IOException | |
| reload | back to summary |
|---|---|
| private void reload() throws IOException If this style was initialized from a file on disk, reload the style information. | |
| setDefaultBibLayout | back to summary |
|---|---|
| protected void setDefaultBibLayout(Layout layout) | |
| setDefaultProperties | back to summary |
|---|---|
| private void setDefaultProperties() | |
| setIsDefaultLayoutPresent | back to summary |
|---|---|
| protected void setIsDefaultLayoutPresent(boolean isPresent) | |
| setLocalCopy | back to summary |
|---|---|
| protected void setLocalCopy(String contentsOfJstyleFile) | |
| setName | back to summary |
|---|---|
| protected void setName(String nameOfTheStyle) | |
| setValid | back to summary |
|---|---|
| protected void setValid(boolean isValid) | |
| spaceBeforeCitation | back to summary |
|---|---|
| public boolean spaceBeforeCitation() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final OOBibStyle. | |
| public static final OOBibStyle. | |
| public static final OOBibStyle. | |
| public static final OOBibStyle. | |
| public static final OOBibStyle. | |
| public static final OOBibStyle. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static OOBibStyle. | |
| public static OOBibStyle. |
| CITATION | back to summary |
|---|---|
| public static final OOBibStyle. | |
| JOURNALS | back to summary |
|---|---|
| public static final OOBibStyle. | |
| LAYOUT | back to summary |
|---|---|
| public static final OOBibStyle. | |
| NAME | back to summary |
|---|---|
| public static final OOBibStyle. | |
| NONE | back to summary |
|---|---|
| public static final OOBibStyle. | |
| PROPERTIES | back to summary |
|---|---|
| public static final OOBibStyle. | |
| BibStyleMode | back to summary |
|---|---|
| private BibStyleMode() | |
| valueOf | back to summary |
|---|---|
| public static OOBibStyle. | |
| values | back to summary |
|---|---|
| public static OOBibStyle. | |