| Modifier and Type | Class and Description |
|---|---|
| public static enum | BibtexString.
Type of @String. |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private boolean | |
| private String | |
| private static final Logger | |
| private String | |
| private String | |
| private BibtexString. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | BibtexString(String name, String content, String
The serialization read during parsing parsedSerialization)This is used to set the parsed serialization of the string. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public boolean | equals(@Nullable Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public String | |
| public String | |
| public String | |
| public BibtexString. | |
| public String | |
| public boolean | |
| public int | |
| public void | |
| public void | |
| public void | |
| public String |
| content | back to summary |
|---|---|
| private String content | |
| hasChanged | back to summary |
|---|---|
| private boolean hasChanged | |
| id | back to summary |
|---|---|
| private String id | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| name | back to summary |
|---|---|
| private String name | |
| parsedSerialization | back to summary |
|---|---|
| private String parsedSerialization | |
| type | back to summary |
|---|---|
| private BibtexString. | |
| BibtexString | back to summary |
|---|---|
| public BibtexString(String name, String content) Default constructor. Use this if in doubt. In case this constructor is used - and the library is eventually written, the serialization is generated from scratch (and not some null from parsedSerialization) | |
| BibtexString | back to summary |
|---|---|
| public BibtexString(String name, String content, String parsedSerialization) This is used to set the parsed serialization of the string. This is used when the string is read from a BibTeX file. Do not use if not working with reading BibTeX files (or similar actions). *
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| equals | back to summary |
|---|---|
| public boolean equals(@Nullable 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.
| |
| getContent | back to summary |
|---|---|
| public String getContent() | |
| getId | back to summary |
|---|---|
| public String getId() | |
| getName | back to summary |
|---|---|
| public String getName() Returns the name/label of the string | |
| getParsedSerialization | back to summary |
|---|---|
| public String getParsedSerialization() | |
| getType | back to summary |
|---|---|
| public BibtexString. | |
| getUserComments | back to summary |
|---|---|
| public String getUserComments() | |
| hasChanged | back to summary |
|---|---|
| public boolean hasChanged() | |
| 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
| |
| setContent | back to summary |
|---|---|
| public void setContent(String content) | |
| setId | back to summary |
|---|---|
| public void setId(String id) | |
| setName | back to summary |
|---|---|
| public void setName(String name) | |
| 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-
| |
Differentiate a @String based on its usage:
AUTHOR: prefix "a", for author and editor fields.
PUBLISHER: prefix "p", for publisher fields
OTHER: no prefix, for any field
Examples:
@String { aKahle = "Kahle, Brewster " } -> author
| Modifier and Type | Field and Description |
|---|---|
| public static final BibtexString. | |
| public static final BibtexString. | |
| public static final BibtexString. | |
| private final String | |
| public static final BibtexString. |
| Modifier and Type | Method and Description |
|---|---|
| public static BibtexString. | |
| public static BibtexString. | |
| public static BibtexString. |
| AUTHOR | back to summary |
|---|---|
| public static final BibtexString. | |
| INSTITUTION | back to summary |
|---|---|
| public static final BibtexString. | |
| OTHER | back to summary |
|---|---|
| public static final BibtexString. | |
| prefix | back to summary |
|---|---|
| private final String prefix | |
| PUBLISHER | back to summary |
|---|---|
| public static final BibtexString. | |
| Type | back to summary |
|---|---|
| private Type(String prefix) | |
| get | back to summary |
|---|---|
| public static BibtexString. | |
| valueOf | back to summary |
|---|---|
| public static BibtexString. | |
| values | back to summary |
|---|---|
| public static BibtexString. | |