org.apache.batik.bridge
Class Location

java.lang.Object
  extended byorg.apache.batik.bridge.Location
All Implemented Interfaces:
Location

public class Location
extends Object
implements Location

This class implements the org.w3c.dom.Location interface for Batik


Constructor Summary
Location(BridgeContext ctx)
          Creates a new Location.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Location

public Location(BridgeContext ctx)
Creates a new Location.

Parameters:
ctx - the bridge context
Method Detail

assign

public void assign(String url)
Invocation of this method causes the user agent to navigate to the supplied location.

Specified by:
assign in interface Location
Parameters:
url - A string containing the URL where the user agent should navigate to.

reload

public void reload()
The user agent reloads the current document.

Specified by:
reload in interface Location

toString

public String toString()
Returns the URL of this location as a String.



Copyright © 2009 Apache Software Foundation. All Rights Reserved.