@Beta @ThreadSafe @MetaInfServices public final class YangParserFactoryImpl extends Object implements YangParserFactory
YangParserFactory implementation.| Constructor and Description |
|---|
YangParserFactoryImpl()
Construct a new
YangParserFactory backed by DefaultReactors.defaultReactor(). |
YangParserFactoryImpl(@NonNull CrossSourceStatementReactor reactor)
Construct a new
YangParserFactory backed by specified reactor. |
| Modifier and Type | Method and Description |
|---|---|
YangParser |
createParser(StatementParserMode parserMode)
Create a
YangParser instance operating in specified import resolution mode. |
Collection<StatementParserMode> |
supportedParserModes()
Return enumeration of
StatementParserModes supported by this factory. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateParserpublic YangParserFactoryImpl()
YangParserFactory backed by DefaultReactors.defaultReactor().public YangParserFactoryImpl(@NonNull CrossSourceStatementReactor reactor)
YangParserFactory backed by specified reactor.reactor - Backing reactorpublic Collection<StatementParserMode> supportedParserModes()
YangParserFactoryStatementParserModes supported by this factory.supportedParserModes in interface YangParserFactorypublic YangParser createParser(StatementParserMode parserMode)
YangParserFactoryYangParser instance operating in specified import resolution mode.createParser in interface YangParserFactoryparserMode - Requested parser mode, may not be null.YangParser instanceCopyright © 2019 OpenDaylight. All rights reserved.