org.apache.tapestry.form
Class TranslatedFieldSupportImpl

java.lang.Object
  extended by org.apache.tapestry.form.TranslatedFieldSupportImpl
All Implemented Interfaces:
TranslatedFieldSupport

public class TranslatedFieldSupportImpl
extends Object
implements TranslatedFieldSupport

Author:
unknown

Constructor Summary
TranslatedFieldSupportImpl()
           
 
Method Summary
 String format(TranslatedField field, Object object)
          Formats the field translation.
 org.apache.hivemind.service.ThreadLocale getThreadLocale()
           
 Object parse(TranslatedField field, String text)
          Parses the field value.
 void renderContributions(TranslatedField field, IMarkupWriter writer, IRequestCycle cycle)
          Renders any contributions.
 void setThreadLocale(org.apache.hivemind.service.ThreadLocale threadLocale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslatedFieldSupportImpl

public TranslatedFieldSupportImpl()
Method Detail

getThreadLocale

public org.apache.hivemind.service.ThreadLocale getThreadLocale()
Returns:
Returns the threadLocale.

setThreadLocale

public void setThreadLocale(org.apache.hivemind.service.ThreadLocale threadLocale)
Parameters:
threadLocale - The threadLocale to set.

format

public String format(TranslatedField field,
                     Object object)
Description copied from interface: TranslatedFieldSupport
Formats the field translation.

Specified by:
format in interface TranslatedFieldSupport

parse

public Object parse(TranslatedField field,
                    String text)
             throws ValidatorException
Description copied from interface: TranslatedFieldSupport
Parses the field value.

Specified by:
parse in interface TranslatedFieldSupport
Throws:
ValidatorException

renderContributions

public void renderContributions(TranslatedField field,
                                IMarkupWriter writer,
                                IRequestCycle cycle)
Description copied from interface: TranslatedFieldSupport
Renders any contributions.

Specified by:
renderContributions in interface TranslatedFieldSupport


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