Interface MountPointContextFactory
- All Known Implementing Classes:
AbstractDynamicMountPointContextFactory
,AbstractMountPointContextFactory
An entity able to resolve the SchemaContext for embedded mount points based on generic data provided by the current
interpretation context.
-
Method Summary
Modifier and TypeMethodDescriptioncreateContext
(Map<YangLibraryConstants.ContainerName, MountPointChild> libraryContainers, @Nullable MountPointChild schemaMounts) Create a mount point context based on available information.
-
Method Details
-
createContext
MountPointContext createContext(Map<YangLibraryConstants.ContainerName, MountPointChild> libraryContainers, @Nullable MountPointChild schemaMounts) throws YangParserExceptionCreate 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
-