public class LineFormatDriver extends ModelAttributeDriver
@directio.line
attributes.
charset=[string-literal]
as charset name (default: UTF-8) compression=[string-literal]
as compression name (default: plain) AttributeDriver.Context
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_CHARSET_NAME
The element name of charset name.
|
static String |
ELEMENT_CODEC_NAME
The element name of codec name.
|
static String |
TARGET_NAME
The attribute name.
|
Constructor and Description |
---|
LineFormatDriver() |
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.
|
void |
verify(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute)
Verifies the attributed declaration.
|
process, verify
public static final String TARGET_NAME
public static final String ELEMENT_CHARSET_NAME
public static final String ELEMENT_CODEC_NAME
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()
public void verify(DmdlSemantics environment, ModelDeclaration declaration, AstAttribute attribute)
ModelAttributeDriver
processed
.verify
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.