Class UnresolvedLink
java.lang.Object
com.atlassian.confluence.content.render.xhtml.model.links.UnresolvedLink
- All Implemented Interfaces:
Link
- Direct Known Subclasses:
NotPermittedLink
-
Constructor Summary
ConstructorDescriptionUnresolvedLink
(Link delegate) UnresolvedLink
(Link delegate, Optional<String> tooltip) -
Method Summary
Modifier and TypeMethodDescriptionboolean
LinkBody<?>
getBody()
Returns the target attribute for the link.int
hashCode()
toString()
updateDestination
(ResourceIdentifier destination) Returns a new instance of this link with an updated destination.
-
Constructor Details
-
UnresolvedLink
-
UnresolvedLink
-
-
Method Details
-
getTooltip
- Specified by:
getTooltip
in interfaceLink
- Returns:
- tooltip
-
getDelegate
-
getBody
-
getDestinationResourceIdentifier
- Specified by:
getDestinationResourceIdentifier
in interfaceLink
- Returns:
- a resource identifier to the destination. If null then the link is a self reference.
- See Also:
-
updateDestination
Description copied from interface:Link
Returns a new instance of this link with an updated destination.- Specified by:
updateDestination
in interfaceLink
- Parameters:
destination
- the updated destination- Returns:
- a new instance with the updated destination.
-
getAnchor
-
getTarget
Description copied from interface:Link
Returns the target attribute for the link. Only "_blank" is supported. -
equals
-
hashCode
public int hashCode() -
toString
-