public class

CreatePageLink

extends Object
implements Link
java.lang.Object
   ↳ com.atlassian.confluence.content.render.xhtml.model.links.CreatePageLink

Summary

Public Constructors
CreatePageLink(Link delegate)
Public Methods
boolean equals(Object o)
String getAnchor()
LinkBody<?> getBody()
Link getDelegate()
ResourceIdentifier getDestinationResourceIdentifier()
String getTooltip()
int hashCode()
Link updateDestination(ResourceIdentifier destination)
Returns a new instance of this link with an updated destination.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.xhtml.api.Link

Public Constructors

public CreatePageLink (Link delegate)

Throws
IllegalArgumentException if the supplied delegate does not specify a destination resource identifier

Public Methods

public boolean equals (Object o)

public String getAnchor ()

public LinkBody<?> getBody ()

public Link getDelegate ()

public ResourceIdentifier getDestinationResourceIdentifier ()

public String getTooltip ()

public int hashCode ()

public Link updateDestination (ResourceIdentifier destination)

Returns a new instance of this link with an updated destination.

Parameters
destination the updated destination
Returns
  • a new instance with the updated destination.