com.atlassian.confluence.content.render.xhtml.migration
Class UrlResourceIdentifier
java.lang.Object
com.atlassian.confluence.content.render.xhtml.migration.UrlResourceIdentifier
- All Implemented Interfaces:
- NamedResourceIdentifier, ResourceIdentifier
public class UrlResourceIdentifier
- extends Object
- implements NamedResourceIdentifier
URL based identifier. In the context of links this will only occur during wiki to XHTML migration since
the standard XHTML 'a' tag is sufficient for linking to a URL.
This resource identifier will be more commonly used in the case of embedded images which point
to the web.
UrlResourceIdentifier
public UrlResourceIdentifier(String url)
getResourceName
public String getResourceName()
- Specified by:
getResourceName
in interface NamedResourceIdentifier
getUrl
public String getUrl()
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object