|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cm.osm2po.sd.guide.SdDefaultTranslator
public class SdDefaultTranslator
Translates the model into human readable messages.
Important:
This is the only class which may know both, the model
and the entirely decoupled message-system.
Constructor Summary | |
---|---|
SdDefaultTranslator()
|
Method Summary | |
---|---|
SdMessage[] |
translate(SdForecast sdForecast,
boolean cat)
Translates one forecast into a sequence of messages building one senctence. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SdDefaultTranslator()
Method Detail |
---|
public SdMessage[] translate(SdForecast sdForecast, boolean cat)
SdTranslator
translate
in interface SdTranslator
sdForecast
- SdForecast
cat
- boolean, true: replace "in 50m" with "and then" e.g.
SdMessageResource
|
osm2po-sd-5.0.0 (c) December 24 2014 Carsten Moeller - info@osm2po.de | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |