Package | Description |
---|---|
org.opendaylight.yangtools.yang.model.parser.api | |
org.opendaylight.yangtools.yang.parser.impl |
This package holds the 'parser implementation', which really is just glue code holding together the statement
reactor, base RFC6020/RFC7950 support bundles and supported semantic extensions.
|
Modifier and Type | Method and Description |
---|---|
YangParser |
YangParser.addLibSource(SchemaSourceRepresentation source) |
default YangParser |
YangParser.addLibSources(Collection<SchemaSourceRepresentation> sources) |
default YangParser |
YangParser.addLibSources(SchemaSourceRepresentation... sources)
Add library sources.
|
YangParser |
YangParser.addSource(SchemaSourceRepresentation source)
Add main source.
|
default YangParser |
YangParser.addSources(Collection<? extends SchemaSourceRepresentation> sources) |
default YangParser |
YangParser.addSources(SchemaSourceRepresentation... sources)
Add main sources.
|
default YangParser |
YangParserFactory.createParser()
Create a
YangParser instance operating in default import resolution mode. |
YangParser |
YangParserFactory.createParser(StatementParserMode parserMode)
Create a
YangParser instance operating in specified import resolution mode. |
YangParser |
YangParser.setModulesWithSupportedDeviations(@NonNull com.google.common.collect.SetMultimap<QNameModule,QNameModule> modulesDeviatedByModules)
Set YANG modules which can be deviated by specified modules during the parsing process.
|
YangParser |
YangParser.setSupportedFeatures(@NonNull Set<QName> supportedFeatures)
Set supported features based on which all if-feature statements in the parsed YANG modules will be resolved.
|
Modifier and Type | Method and Description |
---|---|
YangParser |
YangParserFactoryImpl.createParser(StatementParserMode parserMode) |
Copyright © 2019 OpenDaylight. All rights reserved.