public class JsonStreamSettings extends Object
Constructor and Description |
---|
JsonStreamSettings() |
Modifier and Type | Method and Description |
---|---|
static JsonStreamSettings |
consume(DmdlSemantics environment,
AstAttribute attribute,
Map<String,AstAttributeElement> elements)
Consumes attribute elements about I/O stream settings.
|
Value<ClassName> |
getCompressionType()
Returns the compression type.
|
Value<JsonFormatConstants.JsonFormatKind> |
getFormatKind()
Returns the format kind.
|
boolean |
verify(DmdlSemantics environment,
AstAttribute attribute)
Verifies this settings.
|
public Value<JsonFormatConstants.JsonFormatKind> getFormatKind()
public Value<ClassName> getCompressionType()
public static JsonStreamSettings consume(DmdlSemantics environment, AstAttribute attribute, Map<String,AstAttributeElement> elements)
environment
- the current environmentattribute
- the attributeelements
- the element map to be consumedpublic boolean verify(DmdlSemantics environment, AstAttribute attribute)
environment
- the current environmentattribute
- the original attributetrue
if the settings seems valid, otherwise false
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.