public abstract class AbstractTranslator<T> extends Object implements Translator<T>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTranslator(String name,
Class<T> type,
String messageKey) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessageKey()
Returns the message key, within the application's global message catalog, normally used by this validator.
|
String |
getName()
Returns a unique name for the translator.
|
Class<T> |
getType()
Returns the type of the server-side value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseClient, render, toClientprotected AbstractTranslator(String name, Class<T> type, String messageKey)
public String getMessageKey()
TranslatorTranslator.parseClient(Field, String, String) or
Translator.render(Field, String, MarkupWriter, org.apache.tapestry5.services.FormSupport).getMessageKey in interface Translator<T>public Class<T> getType()
TranslatorgetType in interface Translator<T>public String getName()
TranslatorgetName in interface Translator<T>5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.