本文整理了Java中org.onosproject.yangutils.datamodel.YangReferenceResolver.resolveSelfFileLinking()
方法的一些代码示例,展示了YangReferenceResolver.resolveSelfFileLinking()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YangReferenceResolver.resolveSelfFileLinking()
方法的具体详情如下:
包路径:org.onosproject.yangutils.datamodel.YangReferenceResolver
类名称:YangReferenceResolver
方法名:resolveSelfFileLinking
[英]Resolves self file linking.
[中]解析自文件链接。
代码示例来源:origin: org.onosproject/onos-yang-utils-parser
.getParsedDataStack().peek();
try {
resolver.resolveSelfFileLinking(YANG_IF_FEATURE);
resolver.resolveSelfFileLinking(YANG_USES);
resolver.resolveSelfFileLinking(YANG_DERIVED_DATA_TYPE);
resolver.resolveSelfFileLinking(YANG_LEAFREF);
resolver.resolveSelfFileLinking(YANG_BASE);
resolver.resolveSelfFileLinking(YANG_IDENTITYREF);
} catch (DataModelException e) {
LinkerException linkerException = new LinkerException(e.getMessage());
代码示例来源:origin: org.onosproject/onos-yang-utils-parser
.resolveSelfFileLinking(ResolvableType.YANG_IF_FEATURE);
((YangReferenceResolver) listener.getParsedDataStack().peek())
.resolveSelfFileLinking(ResolvableType.YANG_USES);
((YangReferenceResolver) listener.getParsedDataStack().peek())
.resolveSelfFileLinking(ResolvableType.YANG_DERIVED_DATA_TYPE);
((YangReferenceResolver) listener.getParsedDataStack().peek())
.resolveSelfFileLinking(ResolvableType.YANG_LEAFREF);
((YangReferenceResolver) listener.getParsedDataStack().peek())
.resolveSelfFileLinking(ResolvableType.YANG_BASE);
((YangReferenceResolver) listener.getParsedDataStack().peek())
.resolveSelfFileLinking(ResolvableType.YANG_IDENTITYREF);
} catch (DataModelException e) {
LinkerException linkerException = new LinkerException(e.getMessage());
代码示例来源:origin: org.onosproject/onos-yang-tool
try {
((YangReferenceResolver) yangNode)
.resolveSelfFileLinking(YANG_DERIVED_DATA_TYPE);
((YangReferenceResolver) yangNode)
.resolveSelfFileLinking(YANG_IDENTITYREF);
} catch (DataModelException e) {
printLog(e.getFileName(), e.getLineNumber(), e
内容来源于网络,如有侵权,请联系作者删除!