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 java.lang.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(java.lang.String url)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getResourceName()
           
 java.lang.String getUrl()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UrlResourceIdentifier

public UrlResourceIdentifier(java.lang.String url)
Method Detail

getResourceName

public java.lang.String getResourceName()
Specified by:
getResourceName in interface NamedResourceIdentifier

getUrl

public java.lang.String getUrl()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2003-2014 Atlassian. All Rights Reserved.