org.apache.tapestry.util.text
Interface ICharacterTranslator

All Known Implementing Classes:
AsciiCharacterTranslator, MarkupCharacterTranslator

public interface ICharacterTranslator

An interface for translating a character into a string.

Since:
4.0
Author:
mb

Method Summary
 java.lang.String translate(char ch)
          Translates the provided character into a string
 

Method Detail

translate

public java.lang.String translate(char ch)
Translates the provided character into a string

Parameters:
ch - the character to be translated
Returns:
null if the character is not to be translated, an empty string if the character is to be ignored, or another string to represent the character translation