Uses of Interface
org.apache.tapestry5.commons.MessageFormatter
-
Packages that use MessageFormatter Package Description org.apache.tapestry5 Root package for Tapestry, containing common interfaces and data types used throughout the framework.org.apache.tapestry5.commons org.apache.tapestry5.commons.internal.util org.apache.tapestry5.commons.util org.apache.tapestry5.internal.services [INTERNAL USE ONLY] internal service classes; API subject to changeorg.apache.tapestry5.ioc.test org.apache.tapestry5.validator Validators for use by Tapestry (and custom) form field components. -
-
Uses of MessageFormatter in org.apache.tapestry5
Methods in org.apache.tapestry5 with parameters of type MessageFormatter Modifier and Type Method Description voidValidator. render(Field field, C constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)Hook used by components to allow the validator to contribute additional attributes or (more often) client-side JavaScript (via theFormSupport.addValidation(Field, String, String, Object)).voidValidator. validate(Field field, C constraintValue, MessageFormatter formatter, T value)Invoked after the client-submitted value has beentranslatedto check that the value conforms to expectations (often, in terms of minimum or maximum value). -
Uses of MessageFormatter in org.apache.tapestry5.commons
Methods in org.apache.tapestry5.commons that return MessageFormatter Modifier and Type Method Description MessageFormatterMessages. getFormatter(java.lang.String key)Returns a formatter for the message, which can be used to substitute arguments (as perFormatter). -
Uses of MessageFormatter in org.apache.tapestry5.commons.internal.util
Classes in org.apache.tapestry5.commons.internal.util that implement MessageFormatter Modifier and Type Class Description classMessageFormatterImpl -
Uses of MessageFormatter in org.apache.tapestry5.commons.util
Methods in org.apache.tapestry5.commons.util that return MessageFormatter Modifier and Type Method Description MessageFormatterAbstractMessages. getFormatter(java.lang.String key) -
Uses of MessageFormatter in org.apache.tapestry5.internal.services
Constructors in org.apache.tapestry5.internal.services with parameters of type MessageFormatter Constructor Description FieldTranslatorImpl(Field field, Translator<T> translator, MessageFormatter formatter, FormSupport formSupport)FieldValidatorImpl(Field field, java.lang.Object constraintValue, MessageFormatter messageFormatter, Validator validator, FormSupport formSupport) -
Uses of MessageFormatter in org.apache.tapestry5.ioc.test
Methods in org.apache.tapestry5.ioc.test that return MessageFormatter Modifier and Type Method Description protected MessageFormatterIOCTestCase. mockMessageFormatter()Deprecated.Methods in org.apache.tapestry5.ioc.test with parameters of type MessageFormatter Modifier and Type Method Description protected voidIOCTestCase. train_format(MessageFormatter formatter, java.lang.String result, java.lang.Object... arguments)Deprecated.Have to put the result before the varargs.protected voidIOCTestCase. train_getMessageFormatter(Messages messages, java.lang.String key, MessageFormatter formatter)Deprecated. -
Uses of MessageFormatter in org.apache.tapestry5.validator
Methods in org.apache.tapestry5.validator with parameters of type MessageFormatter Modifier and Type Method Description voidChecked. render(Field field, java.lang.Void constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)voidEmail. render(Field field, java.lang.Void constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)voidMax. render(Field field, java.lang.Long constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)voidMaxLength. render(Field field, java.lang.Integer constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)voidMin. render(Field field, java.lang.Long constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)voidMinLength. render(Field field, java.lang.Integer constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)voidNone. render(Field field, java.lang.Void constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)Does nothing.voidRegexp. render(Field field, java.util.regex.Pattern constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)voidRequired. render(Field field, java.lang.Void constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)voidEmail. validate(Field field, java.lang.Void constraintValue, MessageFormatter formatter, java.lang.String value)voidMax. validate(Field field, java.lang.Long constraintValue, MessageFormatter formatter, java.lang.Number value)voidMaxLength. validate(Field field, java.lang.Integer constraintValue, MessageFormatter formatter, java.lang.String value)voidMin. validate(Field field, java.lang.Long constraintValue, MessageFormatter formatter, java.lang.Number value)voidMinLength. validate(Field field, java.lang.Integer constraintValue, MessageFormatter formatter, java.lang.String value)voidNone. validate(Field field, java.lang.Void constraintValue, MessageFormatter formatter, java.lang.Object value)Does nothing.voidRegexp. validate(Field field, java.util.regex.Pattern constraintValue, MessageFormatter formatter, java.lang.String value)voidRequired. validate(Field field, java.lang.Void constraintValue, MessageFormatter formatter, java.lang.Object value)
-