@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
StatementParserMode s supported by this factory. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createParser
public YangParserFactoryImpl()
YangParserFactory
backed by DefaultReactors.defaultReactor()
.public YangParserFactoryImpl(@NonNull CrossSourceStatementReactor reactor)
YangParserFactory
backed by specified reactor.reactor
- Backing reactorpublic Collection<StatementParserMode> supportedParserModes()
YangParserFactory
StatementParserMode
s supported by this factory.supportedParserModes
in interface YangParserFactory
public YangParser createParser(StatementParserMode parserMode)
YangParserFactory
YangParser
instance operating in specified import resolution mode.createParser
in interface YangParserFactory
parserMode
- Requested parser mode, may not be null.YangParser
instanceCopyright © 2019 OpenDaylight. All rights reserved.