Uses of Interface
net.sourceforge.stripes.format.Formatter

Packages that use Formatter
net.sourceforge.stripes.format Contains functionality for integrating formatting of Java objects with the Stripes tag library. 
net.sourceforge.stripes.util This package contains various utility classes that are used to implement Stripes. 
 

Uses of Formatter in net.sourceforge.stripes.format
 

Classes in net.sourceforge.stripes.format that implement Formatter
 class DateFormatter
          Implements a basic formatter for Date objects.
 class EnumFormatter
          A simple formatter for Enum classes that always returns the value of Enum.name().
 class NumberFormatter
          Formats numbers into localized Strings for display.
 class ObjectFormatter
          This is the default formatter.
 

Methods in net.sourceforge.stripes.format that return Formatter
 Formatter<?> FormatterFactory.getFormatter(Class<?> clazz, Locale locale, String formatType, String formatPattern)
          Returns a configured formatter that meets the criteria specified.
 Formatter<?> DefaultFormatterFactory.getFormatter(Class<?> clazz, Locale locale, String formatType, String formatPattern)
          Check to see if the there is a Formatter for the specified clazz.
 Formatter<?> DefaultFormatterFactory.getInstance(Class<? extends Formatter<?>> clazz, String formatType, String formatPattern, Locale locale)
          Gets an instance of the Formatter class specified.
 

Methods in net.sourceforge.stripes.format that return types with arguments of type Formatter
protected  Class<? extends Formatter<?>> DefaultFormatterFactory.cacheFormatterClass(Class<?> clazz, Class<? extends Formatter<?>> formatterClass)
          Add formatter class formatterClass for formatting objects of type clazz.
protected  Class<? extends Formatter<?>> DefaultFormatterFactory.findFormatterClass(Class<?> targetClass)
          Search for a formatter class that best matches the requested class, first checking the specified class, then all the interfaces it implements, then all its superclasses and the interfaces they implement, and finally all the superclasses of the interfaces implemented by targetClass.
protected  Class<? extends Formatter<?>> DefaultFormatterFactory.findInInterfaces(Class<?> targetClass, Class<?>... ifaces)
          Called second by DefaultFormatterFactory.findFormatterClass(Class), after DefaultFormatterFactory.findInSuperclasses(Class).
protected  Class<? extends Formatter<?>> DefaultFormatterFactory.findInSuperclasses(Class<?> targetClass)
          Called first by DefaultFormatterFactory.findFormatterClass(Class).
protected  Map<Class<?>,Class<? extends Formatter<?>>> DefaultFormatterFactory.getFormatters()
          Gets the (rather confusing) Map of Formatter objects.
 

Method parameters in net.sourceforge.stripes.format with type arguments of type Formatter
 void FormatterFactory.add(Class<?> targetType, Class<? extends Formatter<?>> formatterClass)
          Adds a formatter to the set of registered formatters, overriding an existing formatter if one was already registered for the type.
 void DefaultFormatterFactory.add(Class<?> targetType, Class<? extends Formatter<?>> formatterClass)
          Adds a Formatter to the set of registered Formatters, overriding an existing formatter if one was registered for the type.
protected  Class<? extends Formatter<?>> DefaultFormatterFactory.cacheFormatterClass(Class<?> clazz, Class<? extends Formatter<?>> formatterClass)
          Add formatter class formatterClass for formatting objects of type clazz.
 Formatter<?> DefaultFormatterFactory.getInstance(Class<? extends Formatter<?>> clazz, String formatType, String formatPattern, Locale locale)
          Gets an instance of the Formatter class specified.
 

Uses of Formatter in net.sourceforge.stripes.util
 

Methods in net.sourceforge.stripes.util that return Formatter
protected  Formatter UrlBuilder.getFormatter(Object value)
          Tries to get a formatter for the given value using the FormatterFactory.
 



? Copyright 2005-2006, Stripes Development Team.