Class ResolvedContent
- java.lang.Object
-
- com.vladsch.flexmark.html.renderer.ResolvedContent
-
public class ResolvedContent extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private @org.jetbrains.annotations.Nullable byte[]
content
private @NotNull ResolvedLink
resolvedLink
private @NotNull LinkStatus
status
-
Constructor Summary
Constructors Constructor Description ResolvedContent(@NotNull ResolvedLink resolvedLink, @NotNull LinkStatus status, @org.jetbrains.annotations.Nullable byte[] content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
@org.jetbrains.annotations.Nullable byte[]
getContent()
@NotNull ResolvedLink
getResolvedLink()
@NotNull LinkStatus
getStatus()
int
hashCode()
ResolvedContent
withContent(@org.jetbrains.annotations.Nullable byte[] content)
ResolvedContent
withStatus(@NotNull LinkStatus status)
-
-
-
Field Detail
-
resolvedLink
@NotNull private final @NotNull ResolvedLink resolvedLink
-
status
@NotNull private final @NotNull LinkStatus status
-
content
@Nullable private final @org.jetbrains.annotations.Nullable byte[] content
-
-
Constructor Detail
-
ResolvedContent
public ResolvedContent(@NotNull @NotNull ResolvedLink resolvedLink, @NotNull @NotNull LinkStatus status, @Nullable @org.jetbrains.annotations.Nullable byte[] content)
-
-
Method Detail
-
withStatus
public ResolvedContent withStatus(@NotNull @NotNull LinkStatus status)
-
withContent
public ResolvedContent withContent(@Nullable @org.jetbrains.annotations.Nullable byte[] content)
-
getResolvedLink
@NotNull public @NotNull ResolvedLink getResolvedLink()
-
getStatus
@NotNull public @NotNull LinkStatus getStatus()
-
getContent
@Nullable public @org.jetbrains.annotations.Nullable byte[] getContent()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-