Class BaseLocaleConverter.Builder<B extends BaseLocaleConverter.Builder<B,T>,T>  
java.lang.Object
org.apache.commons.beanutils2.locale.BaseLocaleConverter.Builder<B,T> 
- Type Parameters:
- B- The builder type.
- T- The converter type.
- Direct Known Subclasses:
- DateLocaleConverter.Builder,- DecimalLocaleConverter.Builder,- StringLocaleConverter.Builder
- Enclosing class:
- BaseLocaleConverter<T>
public abstract static class BaseLocaleConverter.Builder<B extends BaseLocaleConverter.Builder<B,T>,T>  
extends Object
Builds instances of 
BaseLocaleConverter subclasses.- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected TThe default value specified to our Constructor, if any.protected LocaleThe locale specified to our Constructor, by default - system locale.protected booleanThe flag indicating whether the given pattern string is localized or not.protected StringThe default pattern specified to our Constructor, if any.protected booleanShould we return the default value on conversion errors?
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected BasThis()Returns this instance cast as the exact subclass type.abstract BaseLocaleConverter<?> get()Gets a newly built instance.setDefault(T defaultValue) Sets the default value.Sets the locale.setLocalizedPattern(boolean localizedPattern) Sets the localized pattern.setPattern(String pattern) Sets the pattern.setUseDefault(boolean useDefault) Sets the use of default.
- 
Field Details- 
defaultValueThe default value specified to our Constructor, if any.
- 
localeThe locale specified to our Constructor, by default - system locale.
- 
localizedPatternThe flag indicating whether the given pattern string is localized or not.
- 
patternThe default pattern specified to our Constructor, if any.
- 
useDefaultShould we return the default value on conversion errors?
 
- 
- 
Constructor Details- 
Builderpublic Builder()Constructs a new instance.
 
- 
- 
Method Details- 
asThisReturns this instance cast as the exact subclass type.- Returns:
- this instance cast as the exact subclass type.
 
- 
getGets a newly built instance.- Returns:
- a newly built instance.
 
- 
setDefaultSets the default value.- Parameters:
- defaultValue- the default value.
- Returns:
- thisinstance.
 
- 
setLocaleSets the locale.- Parameters:
- locale- the locale.
- Returns:
- thisinstance.
 
- 
setLocalizedPatternSets the localized pattern.- Parameters:
- localizedPattern- the localized pattern.
- Returns:
- thisinstance.
 
- 
setPatternSets the pattern.- Parameters:
- pattern- the pattern.
- Returns:
- thisinstance.
 
- 
setUseDefaultSets the use of default.- Parameters:
- useDefault- the use of default.
- Returns:
- thisinstance.
 
 
-