Class ResolvedLink
- java.lang.Object
-
- com.vladsch.flexmark.html.renderer.ResolvedLink
-
public class ResolvedLink extends Object
-
-
Constructor Summary
Constructors Constructor Description ResolvedLink(@NotNull LinkType linkType, @NotNull CharSequence url)
ResolvedLink(@NotNull LinkType linkType, @NotNull CharSequence url, @Nullable com.vladsch.flexmark.util.html.Attributes attributes)
ResolvedLink(@NotNull LinkType linkType, CharSequence url, @Nullable com.vladsch.flexmark.util.html.Attributes attributes, @NotNull LinkStatus status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
@Nullable String
getAnchorRef()
@Nullable com.vladsch.flexmark.util.html.Attributes
getAttributes()
@NotNull LinkType
getLinkType()
@NotNull com.vladsch.flexmark.util.html.MutableAttributes
getMutableAttributes()
@NotNull com.vladsch.flexmark.util.html.Attributes
getNonNullAttributes()
@NotNull String
getPageRef()
@NotNull LinkStatus
getStatus()
String
getTarget()
@Nullable String
getTitle()
@NotNull String
getUrl()
int
hashCode()
ResolvedLink
withLinkType(@NotNull LinkType linkType)
ResolvedLink
withStatus(@NotNull LinkStatus status)
@NotNull ResolvedLink
withTarget(@Nullable CharSequence target)
@NotNull ResolvedLink
withTitle(@Nullable CharSequence title)
@NotNull ResolvedLink
withUrl(@NotNull CharSequence url)
-
-
-
Constructor Detail
-
ResolvedLink
public ResolvedLink(@NotNull @NotNull LinkType linkType, @NotNull @NotNull CharSequence url)
-
ResolvedLink
public ResolvedLink(@NotNull @NotNull LinkType linkType, @NotNull @NotNull CharSequence url, @Nullable @Nullable com.vladsch.flexmark.util.html.Attributes attributes)
-
ResolvedLink
public ResolvedLink(@NotNull @NotNull LinkType linkType, CharSequence url, @Nullable @Nullable com.vladsch.flexmark.util.html.Attributes attributes, @NotNull @NotNull LinkStatus status)
-
-
Method Detail
-
getAttributes
@Nullable public @Nullable com.vladsch.flexmark.util.html.Attributes getAttributes()
-
getNonNullAttributes
@NotNull public @NotNull com.vladsch.flexmark.util.html.Attributes getNonNullAttributes()
-
getMutableAttributes
@NotNull public @NotNull com.vladsch.flexmark.util.html.MutableAttributes getMutableAttributes()
-
withLinkType
public ResolvedLink withLinkType(@NotNull @NotNull LinkType linkType)
-
withStatus
public ResolvedLink withStatus(@NotNull @NotNull LinkStatus status)
-
getLinkType
@NotNull public @NotNull LinkType getLinkType()
-
getStatus
@NotNull public @NotNull LinkStatus getStatus()
-
withUrl
@NotNull public @NotNull ResolvedLink withUrl(@NotNull @NotNull CharSequence url)
-
getUrl
@NotNull public @NotNull String getUrl()
-
getPageRef
@NotNull public @NotNull String getPageRef()
-
getAnchorRef
@Nullable public @Nullable String getAnchorRef()
-
withTitle
@NotNull public @NotNull ResolvedLink withTitle(@Nullable @Nullable CharSequence title)
-
getTitle
@Nullable public @Nullable String getTitle()
-
withTarget
@NotNull public @NotNull ResolvedLink withTarget(@Nullable @Nullable CharSequence target)
-
getTarget
public String getTarget()
-
-