Class Overview
Abstract implementation of PlaceHistoryMapper.
Summary
Nested Classes |
class |
AbstractPlaceHistoryMapper.PrefixAndToken |
Return value for
getPrefixAndToken(Place) . |
Fields
Public Constructors
public
AbstractPlaceHistoryMapper
()
Public Methods
public
Place
getPlace
(String token)
Returns the Place
associated with the given token.
public
String
getToken
(Place place)
Returns the String token associated with the given Place
.
public
void
setFactory
(F factory)
Parameters
factory
| a factory of type F
|
Protected Methods
Parameters
newPlace
| what needs tokenizing |
protected
abstract
PlaceTokenizer<?>
getTokenizer
(String prefix)
Parameters
prefix
| the prefix found on the history token |
Returns
- the PlaceTokenizer registered with that token, or null