@Beta @NonNullByDefault public interface MountPointContextFactory
An entity able to resolve the SchemaContext for embedded mount points based on generic data provided by the current interpretation context.
  • Method Details

    • createContext

      MountPointContext createContext(Map<YangLibraryConstants.ContainerName,MountPointChild> libraryContainers, @Nullable MountPointChild schemaMounts) throws org.opendaylight.yangtools.yang.parser.api.YangParserException
      Create a mount point context based on available information. Implementations are expected to attempt to interpret provided data to their best of their ability.
      Parameters:
      libraryContainers - available YANG library containers in opaque format
      schemaMounts - the content of 'schema-mounts' container, if available
      Returns:
      A MountPointContext
      Throws:
      org.opendaylight.yangtools.yang.parser.api.YangParserException - if the schema cannot be assembled