Class Location

  • All Implemented Interfaces:
    Location

    public class Location
    extends java.lang.Object
    implements Location
    This class implements the org.apache.batik.w3c.dom.Location interface for Batik
    Version:
    $Id: Location.java$
    • 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.
      • 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​(java.lang.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 java.lang.String toString()
        Returns the URL of this location as a String.
        Overrides:
        toString in class java.lang.Object