Package org.apache.batik.bridge
Class Location
- java.lang.Object
-
- org.apache.batik.bridge.Location
-
-
Field Summary
Fields Modifier and Type Field Description private BridgeContextbridgeContext
-
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 voidassign(java.lang.String url)Invocation of this method causes the user agent to navigate to the supplied location.voidreload()The user agent reloads the current document.java.lang.StringtoString()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:
toStringin classjava.lang.Object
-
-