本文整理了Java中org.opendaylight.yangtools.yang.parser.repo.YangTextSchemaContextResolver.getSchemaContext()
方法的一些代码示例,展示了YangTextSchemaContextResolver.getSchemaContext()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YangTextSchemaContextResolver.getSchemaContext()
方法的具体详情如下:
包路径:org.opendaylight.yangtools.yang.parser.repo.YangTextSchemaContextResolver
类名称:YangTextSchemaContextResolver
方法名:getSchemaContext
[英]Try to parse all currently available yang files and build new schema context.
[中]尝试解析所有当前可用的文件,并构建新的模式上下文。
代码示例来源:origin: opendaylight/yangtools
/**
* Try to parse all currently available yang files and build new schema context.
*
* @return new schema context iif there is at least 1 yang file registered and
* new schema context was successfully built.
*/
public Optional<SchemaContext> getSchemaContext() {
return getSchemaContext(StatementParserMode.DEFAULT_MODE);
}
代码示例来源:origin: org.opendaylight.yangtools/yang-parser-impl
/**
* Try to parse all currently available yang files and build new schema context.
*
* @return new schema context iif there is at least 1 yang file registered and
* new schema context was successfully built.
*/
public Optional<SchemaContext> getSchemaContext() {
return getSchemaContext(StatementParserMode.DEFAULT_MODE);
}
代码示例来源:origin: org.opendaylight.mdsal/mdsal-binding2-runtime
/**
* Resolving of schema context.
*
* @return optional of schema context
*/
public Optional<SchemaContext> tryToCreateSchemaContext() {
return ctxResolver.getSchemaContext();
}
代码示例来源:origin: org.opendaylight.mdsal/mdsal-binding-generator-impl
public Optional<SchemaContext> tryToCreateSchemaContext() {
return ctxResolver.getSchemaContext();
}
内容来源于网络,如有侵权,请联系作者删除!