@Beta @ThreadSafe @NonNullByDefault public final class DeclaredStatementFormatter extends Object implements Immutable
DeclaredStatement
s.Modifier and Type | Class and Description |
---|---|
static class |
DeclaredStatementFormatter.Builder
Builder class for instantiation of a customized
DeclaredStatementFormatter . |
Modifier and Type | Method and Description |
---|---|
static DeclaredStatementFormatter.Builder |
builder()
Create a new
DeclaredStatementFormatter.Builder , which can be used to create customized DeclaredStatementFormatter instances. |
static DeclaredStatementFormatter |
defaultInstance()
Return the default DeclaredStatementFormatter instance.
|
YangTextSnippet |
toYangTextSnippet(ModuleEffectiveStatement module,
DeclaredStatement<?> statement)
Format specified statement into a
YangTextSnippet . |
public YangTextSnippet toYangTextSnippet(ModuleEffectiveStatement module, DeclaredStatement<?> statement)
YangTextSnippet
.module
- parent modulestatement
- statement to formatYangTextSnippet
NullPointerException
- if any of the arguments is nullpublic static DeclaredStatementFormatter defaultInstance()
public static DeclaredStatementFormatter.Builder builder()
DeclaredStatementFormatter.Builder
, which can be used to create customized DeclaredStatementFormatter instances.Copyright © 2019 OpenDaylight. All rights reserved.