Class SchemaContextUtil

java.lang.Object
org.opendaylight.yangtools.yang.model.util.SchemaContextUtil

public final class SchemaContextUtil extends Object
The Schema Context Util contains support methods for searching through Schema Context modules for specified schema nodes via Schema Path or Revision Aware XPath. The Schema Context Util is designed as mixin, so it is not instantiable.
  • Method Details

    • getConstituentModuleIdentifiers

      public static Set<SourceIdentifier> getConstituentModuleIdentifiers(SchemaContext context)
      Extract the identifiers of all modules and submodules which were used to create a particular SchemaContext.
      Parameters:
      context - SchemaContext to be examined
      Returns:
      Set of ModuleIdentifiers.