public class YangUtilsParserManager extends Object implements YangUtilsParser
| Constructor and Description |
|---|
YangUtilsParserManager() |
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.yang.compiler.datamodel.YangNode |
getDataModel(String yangFile)
Returns the data model node.
|
public org.onosproject.yang.compiler.datamodel.YangNode getDataModel(String yangFile) throws IOException, ParserException
YangUtilsParsergetDataModel in interface YangUtilsParseryangFile - input YANG fileIOException - when there is an exception in IO operationParserException - when fails to get the data modelCopyright © 2018. All rights reserved.