本文整理了Java中org.opendaylight.yangtools.odlext.model.api.YangModeledAnyXmlSchemaNode.getSchemaOfAnyXmlData()
方法的一些代码示例,展示了YangModeledAnyXmlSchemaNode.getSchemaOfAnyXmlData()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YangModeledAnyXmlSchemaNode.getSchemaOfAnyXmlData()
方法的具体详情如下:
包路径:org.opendaylight.yangtools.odlext.model.api.YangModeledAnyXmlSchemaNode
类名称:YangModeledAnyXmlSchemaNode
方法名:getSchemaOfAnyXmlData
[英]Returns the root schema node of the data in this anyxml node.
[中]
代码示例来源:origin: org.opendaylight.yangtools/yang-data-impl
public SchemaNode startYangModeledAnyXmlNode(final NodeIdentifier name) {
LOG.debug("Enter yang modeled anyXml {}", name);
final SchemaNode schema = getSchema(name);
checkArgument(schema instanceof YangModeledAnyXmlSchemaNode, "Node %s is not an yang modeled anyXml.",
schema.getPath());
schemaStack.push(((YangModeledAnyXmlSchemaNode) schema).getSchemaOfAnyXmlData());
return schema;
}
代码示例来源:origin: opendaylight/yangtools
public SchemaNode startYangModeledAnyXmlNode(final NodeIdentifier name) {
LOG.debug("Enter yang modeled anyXml {}", name);
final SchemaNode schema = getSchema(name);
checkArgument(schema instanceof YangModeledAnyXmlSchemaNode, "Node %s is not an yang modeled anyXml.",
schema.getPath());
schemaStack.push(((YangModeledAnyXmlSchemaNode) schema).getSchemaOfAnyXmlData());
return schema;
}
代码示例来源:origin: opendaylight/yangtools
private ImmutableYangModeledAnyXmlNodeBuilder(final YangModeledAnyXmlSchemaNode yangModeledAnyXMLSchemaNode,
final int sizeHint) {
super(sizeHint);
requireNonNull(yangModeledAnyXMLSchemaNode, "Yang modeled any xml node must not be null.");
super.withNodeIdentifier(NodeIdentifier.create(yangModeledAnyXMLSchemaNode.getQName()));
this.contentSchema = yangModeledAnyXMLSchemaNode.getSchemaOfAnyXmlData();
}
代码示例来源:origin: org.opendaylight.yangtools/yang-data-impl
private ImmutableYangModeledAnyXmlNodeBuilder(final YangModeledAnyXmlSchemaNode yangModeledAnyXMLSchemaNode) {
requireNonNull(yangModeledAnyXMLSchemaNode, "Yang modeled any xml node must not be null.");
super.withNodeIdentifier(NodeIdentifier.create(yangModeledAnyXMLSchemaNode.getQName()));
this.contentSchema = yangModeledAnyXMLSchemaNode.getSchemaOfAnyXmlData();
}
代码示例来源:origin: org.opendaylight.yangtools/yang-data-impl
private ImmutableYangModeledAnyXmlNodeBuilder(final YangModeledAnyXmlSchemaNode yangModeledAnyXMLSchemaNode,
final int sizeHint) {
super(sizeHint);
requireNonNull(yangModeledAnyXMLSchemaNode, "Yang modeled any xml node must not be null.");
super.withNodeIdentifier(NodeIdentifier.create(yangModeledAnyXMLSchemaNode.getQName()));
this.contentSchema = yangModeledAnyXMLSchemaNode.getSchemaOfAnyXmlData();
}
代码示例来源:origin: opendaylight/yangtools
private ImmutableYangModeledAnyXmlNodeBuilder(final YangModeledAnyXmlSchemaNode yangModeledAnyXMLSchemaNode) {
requireNonNull(yangModeledAnyXMLSchemaNode, "Yang modeled any xml node must not be null.");
super.withNodeIdentifier(NodeIdentifier.create(yangModeledAnyXMLSchemaNode.getQName()));
this.contentSchema = yangModeledAnyXMLSchemaNode.getSchemaOfAnyXmlData();
}
代码示例来源:origin: opendaylight/yangtools
parentSchema = ((YangModeledAnyXmlSchemaNode) parentSchema).getSchemaOfAnyXmlData();
代码示例来源:origin: org.opendaylight.yangtools/yang-data-codec-gson
DataSchemaNode parentSchema = parent.getSchema();
if (parentSchema instanceof YangModeledAnyXmlSchemaNode) {
parentSchema = ((YangModeledAnyXmlSchemaNode) parentSchema).getSchemaOfAnyXmlData();
代码示例来源:origin: opendaylight/yangtools
DataSchemaNode parentSchema = parent.getSchema();
if (parentSchema instanceof YangModeledAnyXmlSchemaNode) {
parentSchema = ((YangModeledAnyXmlSchemaNode) parentSchema).getSchemaOfAnyXmlData();
内容来源于网络,如有侵权,请联系作者删除!