info.magnolia.ui.framework.app
Class DefaultLocationHistoryMapper

java.lang.Object
  extended by info.magnolia.ui.framework.app.DefaultLocationHistoryMapper
All Implemented Interfaces:
LocationHistoryMapper

public class DefaultLocationHistoryMapper
extends Object
implements LocationHistoryMapper

LocationHistoryMapper that creates locations for all apps and shell apps.


Constructor Summary
DefaultLocationHistoryMapper(AppLauncherLayoutManager appLauncherLayoutManager)
           
 
Method Summary
 String getFragment(Location location)
          Returns the text representation of the location or null if the location isn't handled.
 Location getLocation(String fragment)
          Returns the location represented by the fragment or null if the fragment is invalid or does not match a supported location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLocationHistoryMapper

public DefaultLocationHistoryMapper(AppLauncherLayoutManager appLauncherLayoutManager)
Method Detail

getLocation

public Location getLocation(String fragment)
Description copied from interface: LocationHistoryMapper
Returns the location represented by the fragment or null if the fragment is invalid or does not match a supported location.

Specified by:
getLocation in interface LocationHistoryMapper

getFragment

public String getFragment(Location location)
Description copied from interface: LocationHistoryMapper
Returns the text representation of the location or null if the location isn't handled.

Specified by:
getFragment in interface LocationHistoryMapper


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.