Class PrefixConverters
- java.lang.Object
-
- org.opendaylight.yangtools.yang.data.jaxen.api.PrefixConverters
-
@Beta @Deprecated public final class PrefixConverters extends Object
Deprecated.A set of utility functions for dealing with common types of namespace mappings.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static @NonNull Converter<String,QNameModule>
create(SchemaContext ctx, Module module)
Deprecated.Create a prefixConverter
forXPathExpressionException
defined in a particular YANGModule
.Instantiation requires establishing how a module's imports are mapped to actual modules and their namespaces.
-
-
-
Method Detail
-
create
public static @NonNull Converter<String,QNameModule> create(SchemaContext ctx, Module module)
Deprecated.Create a prefixConverter
forXPathExpressionException
defined in a particular YANGModule
.Instantiation requires establishing how a module's imports are mapped to actual modules and their namespaces. This information is cached and used for improved lookups.- Parameters:
ctx
- A SchemaContextmodule
- Module in which the XPath is defined- Returns:
- A new Converter
-
-