本文整理汇总了Java中net.sourceforge.stripes.validation.TypeConverterFactory类的典型用法代码示例。如果您正苦于以下问题:Java TypeConverterFactory类的具体用法?Java TypeConverterFactory怎么用?Java TypeConverterFactory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
TypeConverterFactory类属于net.sourceforge.stripes.validation包,在下文中一共展示了TypeConverterFactory类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: initTypeConverterFactory
import net.sourceforge.stripes.validation.TypeConverterFactory; //导入依赖的package包/类
/** Looks for a class name in config and uses that to create the component. */
@Override protected TypeConverterFactory initTypeConverterFactory() {
return initializeComponent(TypeConverterFactory.class, TYPE_CONVERTER_FACTORY);
}
示例2: initTypeConverterFactory
import net.sourceforge.stripes.validation.TypeConverterFactory; //导入依赖的package包/类
/** Allows subclasses to initialize a non-default TypeConverterFactory. */
protected TypeConverterFactory initTypeConverterFactory() { return null; }
示例3: getTypeConverterFactory
import net.sourceforge.stripes.validation.TypeConverterFactory; //导入依赖的package包/类
/**
* Returns an instance of TypeConverterFactory that is responsible for providing lookups and
* instances of TypeConverters for the validation system. The instance should be cached by the
* Configuration since multiple entities in the system may access the TypeConverterFactory
* throughout the lifetime of the application.
*
* @return TypeConverterFactory an instance of a TypeConverterFactory implementation
*/
TypeConverterFactory getTypeConverterFactory();
示例4: getTypeConverterFactory
import net.sourceforge.stripes.validation.TypeConverterFactory; //导入依赖的package包/类
/**
* Returns an instance of {@link DefaultTypeConverterFactory} unless a subclass has
* overridden the default..
* @return TypeConverterFactory an instance of the configured factory.
*/
public TypeConverterFactory getTypeConverterFactory() {
return this.typeConverterFactory;
}