API Reference 0.3.24dart_web_toolkit_placePlaceHistoryMapperWithFactory<F>

PlaceHistoryMapperWithFactory<F> abstract class

A {@link PlaceHistoryMapper} that can get its {@link PlaceTokenizer} instances from a factory.

@param <F> factory type

abstract class PlaceHistoryMapperWithFactory<F> extends PlaceHistoryMapper {

 /**
  * Sets the factory to be used to generate {@link PlaceTokenizer} instances.
  *
  * @param factory a factory of type F
  */
 void setFactory(F factory);
}

Extends

PlaceHistoryMapper > PlaceHistoryMapperWithFactory<F>

Methods

abstract Place getPlace(String token) #

inherited from PlaceHistoryMapper

Returns the {@link Place} associated with the given token.

@param token a String token @return a {@link Place} instance

abstract String getToken(Place place) #

inherited from PlaceHistoryMapper

Returns the String token associated with the given {@link Place}.

@param place a {@link Place} instance @return a String token

abstract void setFactory(F factory) #

Sets the factory to be used to generate {@link PlaceTokenizer} instances.

@param factory a factory of type F