public final class Location extends Object
URL
form and string form.Modifier and Type | Field and Description |
---|---|
String |
href
The location in absolute or relative string form.
|
boolean |
isAbsoluteHref
|
URL |
url
The location in
URL form. |
Constructor and Description |
---|
Location(URL url,
String href,
boolean isAbsoluteHref)
Constructs a location object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Locations are compared only by their URLs.
|
boolean |
sameLocationAs(Location other)
Real implementation of {link #equals}.
|
public final URL url
URL
form.public final String href
public final boolean isAbsoluteHref
public boolean equals(Object other)
equals
in class Object
sameLocationAs(com.xmlmind.xmledit.cssext.media.Location)
public boolean sameLocationAs(Location other)