gpt4 book ai didi

org.onosproject.yang.compiler.translator.tojava.YangDataModelFactory类的使用及代码示例

转载 作者:知者 更新时间:2024-03-19 11:35:31 27 4
gpt4 key购买 nike

本文整理了Java中org.onosproject.yang.compiler.translator.tojava.YangDataModelFactory类的一些代码示例,展示了YangDataModelFactory类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YangDataModelFactory类的具体详情如下:
包路径:org.onosproject.yang.compiler.translator.tojava.YangDataModelFactory
类名称:YangDataModelFactory

YangDataModelFactory介绍

暂无

代码示例

代码示例来源:origin: org.onosproject/onos-yang-compiler-linker

node.setPreviousSibling(null);
node.setParent(null);
YangCase javaCase = getYangCaseNode(JAVA_GENERATION);
javaCase.setName(node.getName());
  YangCase javaCase = getYangCaseNode(JAVA_GENERATION);
  javaCase.setName(leaf.getName());
  javaCase.addLeaf(leaf);
  YangCase javaCase = getYangCaseNode(JAVA_GENERATION);
  javaCase.setName(leafList.getName());
  javaCase.addLeafList(leafList);

代码示例来源:origin: org.onosproject/onos-yang-compiler-parser

YangEnumeration enumerationNode = getYangEnumerationNode(JAVA_GENERATION);
enumerationNode.setLineNumber(ctx.getStart().getLine());
enumerationNode.setCharPosition(ctx.getStart().getCharPositionInLine());

代码示例来源:origin: org.onosproject/onos-yang-compiler-parser

if (curData instanceof YangRpc) {
  YangInput yangInput = getYangInputNode(JAVA_GENERATION);
  yangInput.setName(INPUT);
  yangInput.setLineNumber(ctx.getStart().getLine());

代码示例来源:origin: org.onosproject/onos-yang-compiler-parser

detectCollidingChildUtil(listener, line, charPositionInLine, identifier, LEAF_DATA);
YangLeaf leaf = getYangLeaf(JAVA_GENERATION);
leaf.setName(identifier);
leaf.setLineNumber(line);

代码示例来源:origin: org.onosproject/onos-yang-compiler-parser

detectCollidingChildUtil(listener, line, charPositionInLine, identifier, ANYDATA_DATA);
YangAnydata anyData = getYangAnydataNode(JAVA_GENERATION);
anyData.setName(identifier);

代码示例来源:origin: org.onosproject/onos-yang-compiler-parser

YangIdentity identity = getYangIdentityNode(JAVA_GENERATION);
identity.setName(identifier);

代码示例来源:origin: org.onosproject/onos-yang-compiler-parser

|| curData instanceof YangNotification) {
YangChoice choiceNode = getYangChoiceNode(JAVA_GENERATION);
choiceNode.setName(identifier);
choiceNode.setLineNumber(line);

代码示例来源:origin: org.onosproject/onos-yang-compiler-parser

detectCollidingChildUtil(listener, line, charPositionInLine, identifier, CONTAINER_DATA);
YangContainer container = getYangContainerNode(JAVA_GENERATION);
container.setName(identifier);

代码示例来源:origin: org.onosproject/onos-yang-compiler-parser

|| curData instanceof YangOutput) {
YangGrouping groupingNode = getYangGroupingNode(JAVA_GENERATION);
groupingNode.setName(identifier);
groupingNode.setGroupingDepth(listener.getGroupingDepth());

代码示例来源:origin: org.onosproject/onos-yang-compiler-parser

YangAugment augment = getYangAugmentNode(JAVA_GENERATION);
augment.setLineNumber(line);
augment.setCharPosition(pos);

代码示例来源:origin: org.onosproject/onos-yang-compiler-parser

YangCase caseNode = getYangCaseNode(JAVA_GENERATION);
caseNode.setName(identifier);
caseNode.setLineNumber(line);

代码示例来源:origin: org.onosproject/onos-yang-compiler-parser

YangCase caseNode = getYangCaseNode(JAVA_GENERATION);

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com