| Modifier and Type | Class and Description |
|---|---|
| public static record | Inline.
An |
| public static record | Inline.
An explicit |
| public static record | Inline.
A run of text with a single resolved style. |
<img>.
| Modifier and Type | Field and Description |
|---|---|
| private final @Nullable String | |
| private final boolean | |
| private final @Nullable CssLength | |
| private final String | |
| private final @Nullable CssLength |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public @Nullable String | |
| public boolean | blockImage()
Record Component getter of blockImage.
Record Component
|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public @Nullable CssLength | |
| public String | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| public @Nullable CssLength |
| alt | back to summary |
|---|---|
| private final @Nullable String alt Record Component accessed by alt(). alternative text, or | |
| blockImage | back to summary |
|---|---|
| private final boolean blockImage Record Component accessed by blockImage().
| |
| height | back to summary |
|---|---|
| private final @Nullable CssLength height Record Component accessed by height(). requested height, or | |
| source | back to summary |
|---|---|
| private final String source Record Component accessed by source(). resolved (absolute if a base URI was known) image URL | |
| width | back to summary |
|---|---|
| private final @Nullable CssLength width Record Component accessed by width(). requested width, or | |
| Image | back to summary |
|---|---|
| public Image(String source, @Nullable CssLength width, @Nullable CssLength height, boolean blockImage, @Nullable String alt) | |
| alt | back to summary |
|---|---|
| public @Nullable String alt() Record Component getter of alt.
| |
| blockImage | back to summary |
|---|---|
| public boolean blockImage() Record Component getter of blockImage.
| |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| height | back to summary |
|---|---|
| public @Nullable CssLength height() Record Component getter of height.
| |
| source | back to summary |
|---|---|
| public String source() Record Component getter of source.
| |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| width | back to summary |
|---|---|
| public @Nullable CssLength width() Record Component getter of width.
| |
<br> line break.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| LineBreak | back to summary |
|---|---|
| public LineBreak() | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
pre/white-space: pre-wrap contexts).
| Modifier and Type | Field and Description |
|---|---|
| private final InlineStyle | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public InlineStyle | |
| public String | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| style | back to summary |
|---|---|
| private final InlineStyle style Record Component accessed by style(). | |
| text | back to summary |
|---|---|
| private final String text Record Component accessed by text(). | |
| TextRun | back to summary |
|---|---|
| public TextRun(String text, InlineStyle style) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| style | back to summary |
|---|---|
| public InlineStyle style() Record Component getter of style. | |
| text | back to summary |
|---|---|
| public String text() Record Component getter of text. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |