CSLStyleUtils and CSLStyleLoader.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private final String | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final String | |
| private volatile @Nullable String | |
| private final Supplier | |
| private final String | |
| private final String | |
| private final String | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | CitationStyle(@NonNull String filePath, @NonNull String styleId, @NonNull String styleClass, @NonNull String title, @NonNull String shortTitle, boolean isNumericStyle, boolean hasBibliography, boolean hasBibliographySortOrder, boolean usesHangingIndent, @NonNull String source, boolean isInternalStyle)
|
| pack-priv | CitationStyle(@NonNull String filePath, @NonNull String styleId, @NonNull String styleClass, @NonNull String title, @NonNull String shortTitle, boolean isNumericStyle, boolean hasBibliography, boolean hasBibliographySortOrder, boolean usesHangingIndent, @NonNull Supplier<String> sourceLoader, boolean isInternalStyle)
|
| private | CitationStyle(@NonNull String filePath, @NonNull String styleId, @NonNull String styleClass, @NonNull String title, @NonNull String shortTitle, boolean isNumericStyle, boolean hasBibliography, boolean hasBibliographySortOrder, boolean usesHangingIndent, @NonNull Supplier<String> sourceLoader, @Nullable String source, boolean isInternalStyle)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public boolean | |
| public boolean | |
| public int | |
| public boolean | |
| public boolean | |
| public boolean | |
| private synchronized String | |
| public String | |
| public boolean |
| ALPHANUMERIC_STYLE | back to summary |
|---|---|
| private static final String ALPHANUMERIC_STYLE | |
| filePath | back to summary |
|---|---|
| private final String filePath | |
| hasBibliography | back to summary |
|---|---|
| private final boolean hasBibliography | |
| hasBibliographySortOrder | back to summary |
|---|---|
| private final boolean hasBibliographySortOrder | |
| isInternalStyle | back to summary |
|---|---|
| private final boolean isInternalStyle | |
| isNumericStyle | back to summary |
|---|---|
| private final boolean isNumericStyle | |
| shortTitle | back to summary |
|---|---|
| private final String shortTitle | |
| source | back to summary |
|---|---|
| private volatile @Nullable String source | |
| sourceLoader | back to summary |
|---|---|
| private final Supplier<String> sourceLoader | |
| styleClass | back to summary |
|---|---|
| private final String styleClass | |
| styleId | back to summary |
|---|---|
| private final String styleId | |
| title | back to summary |
|---|---|
| private final String title | |
| usesHangingIndent | back to summary |
|---|---|
| private final boolean usesHangingIndent | |
| CitationStyle | back to summary |
|---|---|
| public CitationStyle(@NonNull String filePath, @NonNull String styleId, @NonNull String styleClass, @NonNull String title, @NonNull String shortTitle, boolean isNumericStyle, boolean hasBibliography, boolean hasBibliographySortOrder, boolean usesHangingIndent, @NonNull String source, boolean isInternalStyle) | |
| CitationStyle | back to summary |
|---|---|
| pack-priv CitationStyle(@NonNull String filePath, @NonNull String styleId, @NonNull String styleClass, @NonNull String title, @NonNull String shortTitle, boolean isNumericStyle, boolean hasBibliography, boolean hasBibliographySortOrder, boolean usesHangingIndent, @NonNull Supplier<String> sourceLoader, boolean isInternalStyle) | |
| CitationStyle | back to summary |
|---|---|
| private CitationStyle(@NonNull String filePath, @NonNull String styleId, @NonNull String styleClass, @NonNull String title, @NonNull String shortTitle, boolean isNumericStyle, boolean hasBibliography, boolean hasBibliographySortOrder, boolean usesHangingIndent, @NonNull Supplier<String> sourceLoader, @Nullable String source, boolean isInternalStyle) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) 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.
| |
| getFilePath | back to summary |
|---|---|
| public String getFilePath() | |
| getName | back to summary |
|---|---|
| public String getName() Implements org.
| |
| getPath | back to summary |
|---|---|
| public String getPath() Implements org.
| |
| getShortTitle | back to summary |
|---|---|
| public String getShortTitle() | |
| getSource | back to summary |
|---|---|
| public String getSource() | |
| getStyleClass | back to summary |
|---|---|
| public String getStyleClass() | |
| getStyleId | back to summary |
|---|---|
| public String getStyleId() | |
| getTitle | back to summary |
|---|---|
| public String getTitle() | |
| hasBibliography | back to summary |
|---|---|
| public boolean hasBibliography() | |
| hasBibliographySortOrder | back to summary |
|---|---|
| public boolean hasBibliographySortOrder() | |
| 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
| |
| isAlphanumericStyle | back to summary |
|---|---|
| public boolean isAlphanumericStyle() Currently, we have support for one alphanumeric CSL style. There is no tag or field in .csl style files that can be parsed to determine if it is an alphanumeric style. Thus, to determine alphanumeric nature, we currently manually check for equality with "DIN 1505-2". | |
| isInternalStyle | back to summary |
|---|---|
| public boolean isInternalStyle() Implements org.
| |
| isNumericStyle | back to summary |
|---|---|
| public boolean isNumericStyle() | |
| loadSource | back to summary |
|---|---|
| private synchronized String loadSource() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| usesHangingIndent | back to summary |
|---|---|
| public boolean usesHangingIndent() | |