com.atlassian.confluence.content.render.xhtml.migration
Class UrlResourceIdentifier

java.lang.Object
  extended by 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.


Constructor Summary
UrlResourceIdentifier(String url)
           
 
Method Summary
 boolean equals(Object o)
           
 String getResourceName()
           
 String getUrl()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UrlResourceIdentifier

public UrlResourceIdentifier(String url)
Method Detail

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


Copyright © 2003–2015 Atlassian. All rights reserved.