- return NetconfStateSchemas.create(deviceRpc, remoteSessionCapabilities, id);
- } else if (remoteSessionCapabilities.containsModuleCapability(QName.create(ModulesState.QNAME,
- "ietf-yang-library"))) {
- return LibraryModulesSchemas.create(deviceRpc, id);
+ return NetconfStateSchemas.create(deviceRpc, remoteSessionCapabilities, id, schemaContext);