Class YangParserFactoryImpl
- java.lang.Object
-
- org.opendaylight.yangtools.yang.parser.impl.YangParserFactoryImpl
-
- All Implemented Interfaces:
YangParserFactory
@Beta @MetaInfServices @Singleton @Deprecated(since="7.0.0", forRemoval=true) public final class YangParserFactoryImpl extends Object implements YangParserFactory
Deprecated, for removal: This API element is subject to removal in a future version.UseDefaultYangParserFactory
instead.ReferenceYangParserFactory
implementation.
-
-
Constructor Summary
Constructors Constructor Description YangParserFactoryImpl()
Deprecated, for removal: This API element is subject to removal in a future version.Construct a newYangParserFactory
backed byDefaultReactors.defaultReactor()
.YangParserFactoryImpl(YangXPathParserFactory xpathFactory)
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NonNull YangParser
createParser(YangParserConfiguration configuration)
Deprecated, for removal: This API element is subject to removal in a future version.Create aYangParser
instance operating with specifiedYangParserConfiguration
.Collection<StatementParserMode>
supportedParserModes()
Deprecated, for removal: This API element is subject to removal in a future version.Return enumeration ofStatementParserMode
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.model.parser.api.YangParserFactory
createParser, createParser
-
-
-
-
Constructor Detail
-
YangParserFactoryImpl
public YangParserFactoryImpl()
Deprecated, for removal: This API element is subject to removal in a future version.Construct a newYangParserFactory
backed byDefaultReactors.defaultReactor()
.
-
YangParserFactoryImpl
@Inject public YangParserFactoryImpl(YangXPathParserFactory xpathFactory)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
supportedParserModes
public Collection<StatementParserMode> supportedParserModes()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:YangParserFactory
Return enumeration ofStatementParserMode
s supported by this factory.- Specified by:
supportedParserModes
in interfaceYangParserFactory
- Returns:
- Enumeration of supported schema source representations
-
createParser
public @NonNull YangParser createParser(YangParserConfiguration configuration)
Deprecated, for removal: This API element is subject to removal in a future version.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
-
-