Class PrefixConverters


  • @Beta
    @Deprecated
    public final class PrefixConverters
    extends Object
    Deprecated.
    A set of utility functions for dealing with common types of namespace mappings.
    • Method Detail

      • create

        public static @NonNull Converter<String,​QNameModule> create​(SchemaContext ctx,
                                                                          Module module)
        Deprecated.
        Create a prefix Converter for XPathExpressionException defined in a particular YANG Module .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 SchemaContext
        module - Module in which the XPath is defined
        Returns:
        A new Converter