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, wait
parseClient, render, toClient
protected AbstractTranslator(String name, Class<T> type, String messageKey)
public String getMessageKey()
Translator
Translator.parseClient(Field, String, String)
or
Translator.render(Field, String, MarkupWriter, org.apache.tapestry5.services.FormSupport)
.getMessageKey
in interface Translator<T>
public Class<T> getType()
Translator
getType
in interface Translator<T>
public String getName()
Translator
getName
in interface Translator<T>
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.