Class DefaultYangParserFactory
java.lang.Object
org.opendaylight.yangtools.yang.parser.impl.DefaultYangParserFactory
- All Implemented Interfaces:
YangParserFactory
@Beta
@Singleton
@MetaInfServices
@RequireServiceComponentRuntime
public final class DefaultYangParserFactory
extends Object
implements YangParserFactory
Reference
YangParserFactory
implementation.-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a newYangParserFactory
backed byDefaultReactors.defaultReactor()
.DefaultYangParserFactory
(YangXPathParserFactory xpathFactory) -
Method Summary
Modifier and TypeMethodDescription@NonNull YangParser
createParser
(YangParserConfiguration configuration) Create aYangParser
instance operating with specifiedYangParserConfiguration
.Return enumeration ofImportResolutionMode
s supported by this factory.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opendaylight.yangtools.yang.parser.api.YangParserFactory
createParser
-
Constructor Details
-
DefaultYangParserFactory
public DefaultYangParserFactory()Construct a newYangParserFactory
backed byDefaultReactors.defaultReactor()
. -
DefaultYangParserFactory
-
-
Method Details
-
supportedImportResolutionModes
Description copied from interface:YangParserFactory
Return enumeration ofImportResolutionMode
s supported by this factory.- Specified by:
supportedImportResolutionModes
in interfaceYangParserFactory
- Returns:
- Enumeration of supported schema source representations
-
createParser
Description copied from interface:YangParserFactory
Create aYangParser
instance operating with specifiedYangParserConfiguration
.- Specified by:
createParser
in interfaceYangParserFactory
- Parameters:
configuration
- Requested parser configuration- Returns:
- A new
YangParser
instance
-