Package org.apache.batik.bridge
Class Location
- java.lang.Object
-
- org.apache.batik.bridge.Location
-
-
Field Summary
Fields Modifier and Type Field Description private BridgeContext
bridgeContext
-
Constructor Summary
Constructors Constructor Description Location(BridgeContext ctx)
Creates a new Location.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assign(java.lang.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.java.lang.String
toString()
Returns the URL of this location as a String.
-
-
-
Field Detail
-
bridgeContext
private BridgeContext bridgeContext
-
-
Constructor Detail
-
Location
public Location(BridgeContext ctx)
Creates a new Location.- Parameters:
ctx
- the bridge context
-
-
Method Detail
-
assign
public void assign(java.lang.String url)
Invocation of this method causes the user agent to navigate to the supplied location.
-
reload
public void reload()
The user agent reloads the current document.
-
toString
public java.lang.String toString()
Returns the URL of this location as a String.- Overrides:
toString
in classjava.lang.Object
-
-