- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.onosproject.yangutils.datamodel.YangReferenceResolver
类的一些代码示例,展示了YangReferenceResolver
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YangReferenceResolver
类的具体详情如下:
包路径:org.onosproject.yangutils.datamodel.YangReferenceResolver
类名称:YangReferenceResolver
[英]Abstraction of YANG dependency resolution information. Abstracted to obtain the resolution information.
[中]杨依赖解析信息的抽象。提取以获取分辨率信息。
代码示例来源: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-datamodel
resolutionNode.addToResolutionList(resolutionInfo,
ResolvableType.YANG_DERIVED_DATA_TYPE);
} else if (resolutionInfo.getEntityToResolveInfo()
.getEntityToResolve() instanceof YangUses) {
resolutionNode.addToResolutionList(resolutionInfo,
ResolvableType.YANG_USES);
} else if (resolutionInfo.getEntityToResolveInfo()
.getEntityToResolve() instanceof YangAugment) {
resolutionNode.addToResolutionList(resolutionInfo,
ResolvableType.YANG_AUGMENT);
} else if (resolutionInfo.getEntityToResolveInfo()
.getEntityToResolve() instanceof YangIfFeature) {
resolutionNode.addToResolutionList(resolutionInfo,
ResolvableType.YANG_IF_FEATURE);
} else if (resolutionInfo.getEntityToResolveInfo()
.getEntityToResolve() instanceof YangLeafRef) {
resolutionNode.addToResolutionList(resolutionInfo,
ResolvableType.YANG_LEAFREF);
} else if (resolutionInfo.getEntityToResolveInfo().getEntityToResolve() instanceof YangBase) {
resolutionNode.addToResolutionList(resolutionInfo, ResolvableType.YANG_BASE);
} else if (resolutionInfo.getEntityToResolveInfo().getEntityToResolve() instanceof YangIdentityRef) {
resolutionNode.addToResolutionList(resolutionInfo, ResolvableType.YANG_IDENTITYREF);
} else if (resolutionInfo.getEntityToResolveInfo()
.getEntityToResolve() instanceof YangCompilerAnnotation) {
resolutionNode.addToResolutionList(resolutionInfo,
ResolvableType.YANG_COMPILER_ANNOTATION);
代码示例来源:origin: org.onosproject/onos-yang-utils-parser
prefix.equals(((YangReferenceResolver) root).getPrefix())) {
prefixMap.put(prefix, root.getName());
return;
代码示例来源: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
本文整理了Java中org.onosproject.yangutils.datamodel.YangReferenceResolver.resolveSelfFileLinking()方法的一些代码示
本文整理了Java中org.onosproject.yang.compiler.datamodel.YangReferenceResolver.resolveSelfFileLinking()方法的一
本文整理了Java中org.onosproject.yang.compiler.datamodel.YangReferenceResolver.addToResolutionList()方法的一些代码
我是一名优秀的程序员,十分优秀!