com.atlassian.confluence.content.render.xhtml.links
Class WebLink

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.links.WebLink

public class WebLink
extends Object

A model object representing a web link in Confluence content as opposed to a Confluence resource link. This isn't a public model object, it is an internal object to allow for easier link processing.


Constructor Summary
WebLink(String href)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAnchor()
           
 String getHref()
           
 int hashCode()
           
 boolean isRelative()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebLink

public WebLink(String href)
Method Detail

isRelative

public boolean isRelative()
Returns:
true if this is a link without a server component and is therefore relative to the Confluence server.

getHref

public String getHref()

getAnchor

public String getAnchor()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003-2012 Atlassian. All Rights Reserved.