public class Location extends Object implements org.apache.batik.w3c.dom.Location
| Constructor and Description |
|---|
Location(BridgeContext ctx)
Creates a new Location.
|
| Modifier and Type | Method and Description |
|---|---|
void |
assign(String url)
Invocation of this method causes the user agent to navigate to the
supplied location.
|
void |
reload()
The user agent reloads the current document.
|
String |
toString()
Returns the URL of this location as a String.
|
public Location(BridgeContext ctx)
ctx - the bridge contextpublic void assign(String url)
assign in interface org.apache.batik.w3c.dom.Locationurl - A string containing the URL where the user agent should
navigate to.public void reload()
reload in interface org.apache.batik.w3c.dom.LocationCopyright © 2000–2020 Apache Software Foundation. All rights reserved.