public class TsvFormatDriver extends ModelAttributeDriver
@directio.tsv
attributes.
charset=[string-literal]
as charset name (default: UTF-8) has_header=TRUE|FALSE
as whether header is required (default: FALSE) allow_linefeed=TRUE|FALSE
as whether each field can contain line-feed (default: FALSE) compression=[string-literal]
as compression name (default: plain) AttributeDriver.Context
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_ALLOW_LINEFEED
The element name of whether value can contain line-feed.
|
static String |
ELEMENT_CHARSET_NAME
The element name of charset name.
|
static String |
ELEMENT_CODEC_NAME
The element name of codec name.
|
static String |
ELEMENT_HAS_HEADER_NAME
The element name of whether header is required.
|
static String |
TARGET_NAME
The attribute name.
|
Constructor and Description |
---|
TsvFormatDriver() |
Modifier and Type | Method and Description |
---|---|
String |
getTargetName()
Returns the qualified name of the target attribute.
|
void |
process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute)
Processes and modifies the attributed data model declaration.
|
process, verify, verify
public static final String TARGET_NAME
public static final String ELEMENT_CHARSET_NAME
public static final String ELEMENT_CODEC_NAME
public static final String ELEMENT_HAS_HEADER_NAME
public static final String ELEMENT_ALLOW_LINEFEED
public String getTargetName()
AttributeDriver
public void process(DmdlSemantics environment, ModelDeclaration declaration, AstAttribute attribute)
ModelAttributeDriver
process
in class ModelAttributeDriver
environment
- the processing environmentdeclaration
- the model declaration with the attribute
attribute
- the attribute with the target name
AttributeDriver.getTargetName()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.