Class Location

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

public class Location extends Object implements Location
This class implements the org.apache.batik.w3c.dom.Location interface for Batik
Version:
$Id: Location.java$
  • Field Details

  • Constructor Details

    • Location

      public Location(BridgeContext ctx)
      Creates a new Location.
      Parameters:
      ctx - the bridge context
  • Method Details

    • 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.
      Overrides:
      toString in class Object