info.magnolia.ui.api.location
Interface LocationHistoryMapper

All Known Implementing Classes:
DefaultLocationHistoryMapper

public interface LocationHistoryMapper

Maps Locations to/from fragments, used to configure a LocationHistoryHandler.


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.
 

Method Detail

getLocation

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.


getFragment

String getFragment(Location location)
Returns the text representation of the location or null if the location isn't handled.



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