org.apache.tapestry.util.text
Interface ICharacterTranslator

All Known Implementing Classes:
AsciiCharacterTranslator, MarkupCharacterTranslator, XmlCharacterTranslator

public interface ICharacterTranslator

An interface for translating a character into a string.

Since:
4.0
Author:
mb

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

Method Detail

translate

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


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.