Deprecated
Use MarkupContent instead.
The pair of a language and a value is an equivalent to markdown:
```${language}
${value}
```
Note that markdown strings will be sanitized - that means html will be escaped.
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public String | |
| public int | |
| public void | |
| public void | |
| public String |
| language | back to summary |
|---|---|
| private String language
| |
| value | back to summary |
|---|---|
| private String value
| |
| MarkedString | back to summary |
|---|---|
| public MarkedString() | |
| MarkedString | back to summary |
|---|---|
| public MarkedString(final String language, final String value) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) 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.
| |
| getLanguage | back to summary |
|---|---|
public String getLanguage()
| |
| getValue | back to summary |
|---|---|
public String getValue()
| |
| 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
| |
| setLanguage | back to summary |
|---|---|
| public void setLanguage(final String language) | |
| setValue | back to summary |
|---|---|
| public void setValue(final String value) | |
| 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-
| |