| Package | Description |
|---|---|
| org.onosproject.yang.compiler.translator.tojava.utils |
Translator's utils for YANG plugin.
|
| Modifier and Type | Method and Description |
|---|---|
static TranslatorErrorType |
TranslatorErrorType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TranslatorErrorType[] |
TranslatorErrorType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
TranslatorUtils.getErrorMsg(TranslatorErrorType errorType,
org.onosproject.yang.compiler.datamodel.YangSchemaNode node)
Returns translator error message string with location information for
YANG schema node.
|
static String |
TranslatorUtils.getErrorMsg(TranslatorErrorType errorType,
org.onosproject.yang.compiler.datamodel.YangSchemaNode node,
String localizedMsg)
Returns translator error message string with location information for
YANG schema node with localized message.
|
static String |
TranslatorUtils.getErrorMsgForCodeGenerator(TranslatorErrorType errorType,
org.onosproject.yang.compiler.datamodel.LocationInfo location)
Returns translator error message string with location information for
JAVA code generator info.
|
Copyright © 2018. All rights reserved.