public class TextFormatSettings extends Object
| Constructor and Description |
|---|
TextFormatSettings() |
| Modifier and Type | Method and Description |
|---|---|
static TextFormatSettings |
consume(DmdlSemantics environment,
AstAttribute attribute,
Map<String,AstAttributeElement> elements)
Consumes attribute elements about escape settings, and returns corresponding
EscapeSettings. |
Value<Charset> |
getCharset()
Returns the charset name.
|
Value<ClassName> |
getCompressionType()
Returns the compression type.
|
Value<Character> |
getFieldSeparator()
Returns the field separator.
|
Value<HeaderType> |
getHeaderType()
Returns the header type.
|
Value<ClassName> |
getInputTransformerClass()
Returns the input transformer class.
|
Value<ErrorAction> |
getLessInputAction()
Returns the error action type for less input fields.
|
Value<LineSeparator> |
getLineSeparator()
Returns the line separator.
|
Value<ErrorAction> |
getMoreInputAction()
Returns the error action type for extra input fields.
|
Value<ClassName> |
getOutputTransformerClass()
Returns the output transformer class.
|
boolean |
verify(DmdlSemantics environment,
AstAttribute attribute)
Verifies this settings.
|
public Value<HeaderType> getHeaderType()
public Value<ClassName> getCompressionType()
public Value<LineSeparator> getLineSeparator()
public Value<Character> getFieldSeparator()
public Value<ErrorAction> getLessInputAction()
public Value<ErrorAction> getMoreInputAction()
public Value<ClassName> getInputTransformerClass()
public Value<ClassName> getOutputTransformerClass()
public static TextFormatSettings 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–2018 Asakusa Framework Team. All rights reserved.