plaintext and
markdown as markup kinds.
If the kind is markdown then the value can contain fenced code blocks like in GitHub issues.
See https://help.github.com/articles/creating-and-highlighting-code-blocks/#syntax-highlighting
Please Note that clients might sanitize the return markdown. A client could decide to remove HTML from the markdown to avoid script execution.
Since 3.3.0
| Modifier and Type | Field and Description |
|---|---|
| private String | kind
The type of the Markup. |
| private String | value
The content itself. |
| 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 |
| kind | back to summary |
|---|---|
| private String kind The type of the Markup.
See | |
| value | back to summary |
|---|---|
| private String value The content itself. | |
| MarkupContent | back to summary |
|---|---|
| public MarkupContent() | |
| MarkupContent | back to summary |
|---|---|
| public MarkupContent(final String kind, 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.
| |
| getKind | back to summary |
|---|---|
| public String getKind() The type of the Markup.
See
| |
| getValue | back to summary |
|---|---|
| public String getValue() The content itself.
| |
| 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
| |
| setKind | back to summary |
|---|---|
| public void setKind(final String kind) The type of the Markup.
See | |
| setValue | back to summary |
|---|---|
| public void setValue(final String value) The content itself. | |
| 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-
| |