Interface MountPointContextFactory
-
- All Known Implementing Classes:
AbstractDynamicMountPointContextFactory
,AbstractMountPointContextFactory
@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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MountPointContext
createContext(Map<YangLibraryConstants.ContainerName,MountPointChild> libraryContainers, @Nullable MountPointChild schemaMounts)
Create a mount point context based on available information.
-
-
-
Method Detail
-
createContext
MountPointContext createContext(Map<YangLibraryConstants.ContainerName,MountPointChild> libraryContainers, @Nullable MountPointChild schemaMounts) throws 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 formatschemaMounts
- the content of 'schema-mounts' container, if available- Returns:
- A
MountPointContext
- Throws:
YangParserException
- if the schema cannot be assembled
-
-