@Beta public final class FormattingUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
formatSchemaPath(String moduleName,
Iterable<org.opendaylight.yangtools.yang.common.QName> schemaPath) |
static String |
formatToAugmentPath(Iterable<org.opendaylight.yangtools.yang.common.QName> schemaPath)
Used in all yangtemplates for formating augmentation target.
|
static String |
formatToParagraph(String text,
int nextLineIndent)
Used in #yangtemplateformodule.scala.txt for formating revision description.
|
public static String formatSchemaPath(String moduleName, Iterable<org.opendaylight.yangtools.yang.common.QName> schemaPath)
public static String formatToParagraph(String text, int nextLineIndent)
text
- Content of tag descriptionnextLineIndent
- Number of spaces from left side default is 12Copyright © 2019 OpenDaylight. All rights reserved.