public class TextFieldSettings extends Object
| Constructor and Description | 
|---|
| TextFieldSettings() | 
| Modifier and Type | Method and Description | 
|---|---|
| static TextFieldSettings | consume(DmdlSemantics environment,
       AstAttribute attribute,
       Map<String,AstAttributeElement> elements)Consumes attribute elements about escape settings, and returns corresponding  EscapeSettings. | 
| Value<ClassName> | getAdapterClass()Returns the field adapter class. | 
| Value<DatePattern> | getDateFormat()Returns the string representation of  DATE. | 
| Value<DatePattern> | getDateTimeFormat()Returns the string representation of  DATETIME. | 
| Value<DecimalOptionFieldAdapter.OutputStyle> | getDecimalOutputStyle()Returns the decimal output style. | 
| Value<String> | getFalseFormat()Returns the string representation of  false. | 
| Value<ErrorAction> | getMalformedInputAction()Returns the error action of malformed inputs. | 
| Value<String> | getNullFormat()Returns the string representation of  null. | 
| Value<DecimalPattern> | getNumberFormat()Returns the string representation of numbers. | 
| Value<QuoteStyle> | getQuoteStyle()Returns the quote style. | 
| Value<Boolean> | getSkipEmptyInput()Returns whether or not skips empty input field. | 
| Value<ZoneId> | getTimeZone()Returns the time zone. | 
| Value<Boolean> | getTrimInputWhitespaces()Returns whether or not trims input field leading/trailing white-space characters. | 
| Value<String> | getTrueFormat()Returns the string representation of  true. | 
| Value<ErrorAction> | getUnmappableOutputAction()Returns the error action of unmappable outputs. | 
| boolean | verify(DmdlSemantics environment,
      AstAttribute attribute)Verifies this settings. | 
public Value<ClassName> getAdapterClass()
public Value<String> getNullFormat()
null.nullpublic Value<String> getTrueFormat()
true.truepublic Value<String> getFalseFormat()
false.falsepublic Value<DecimalPattern> getNumberFormat()
public Value<DatePattern> getDateFormat()
DATE.DATEpublic Value<DatePattern> getDateTimeFormat()
DATETIME.DATETIMEpublic Value<DecimalOptionFieldAdapter.OutputStyle> getDecimalOutputStyle()
public Value<Boolean> getTrimInputWhitespaces()
true if trims input field leading/trailing white-space characters, otherwise falsepublic Value<Boolean> getSkipEmptyInput()
true if skips empty input field, otherwise falsepublic Value<ErrorAction> getMalformedInputAction()
public Value<ErrorAction> getUnmappableOutputAction()
public Value<QuoteStyle> getQuoteStyle()
public static TextFieldSettings consume(DmdlSemantics environment, AstAttribute attribute, Map<String,AstAttributeElement> elements)
EscapeSettings.environment - the current environmentattribute - the attributeelements - the element map to be consumedEscapeSettings.public boolean verify(DmdlSemantics environment, AstAttribute attribute)
environment - the current environmentattribute - the original attributetrue if the settings seems valid, otherwise falseCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.