public class JsonFormatTrait extends Object implements Trait<JsonFormatTrait>
| Constructor and Description |
|---|
JsonFormatTrait(AstAttribute attribute,
JsonStreamSettings streamSettings,
JsonFormatSettings formatSettings,
JsonPropertySettings propertySettings)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
JsonFormatSettings |
getFormatSettings()
Returns the format settings.
|
AstAttribute |
getOriginalAst()
Returns the corresponded syntactic element of this.
|
JsonPropertySettings |
getPropertySettings()
Returns the property settings.
|
JsonStreamSettings |
getStreamSettings()
Returns the I/O stream settings.
|
public JsonFormatTrait(AstAttribute attribute, JsonStreamSettings streamSettings, JsonFormatSettings formatSettings, JsonPropertySettings propertySettings)
attribute - the original attributestreamSettings - the I/O stream settingsformatSettings - the format settingspropertySettings - the default property settingspublic AstAttribute getOriginalAst()
ElementgetOriginalAst in interface Elementnull if unknownpublic JsonStreamSettings getStreamSettings()
public JsonFormatSettings getFormatSettings()
public JsonPropertySettings getPropertySettings()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.