public class DefaultSchemaContextProvider extends Object implements org.onosproject.yang.model.SchemaContextProvider
| Modifier and Type | Field and Description |
|---|---|
DefaultYangModelRegistry |
reg |
| Constructor and Description |
|---|
DefaultSchemaContextProvider(DefaultYangModelRegistry registry)
Creates an instance of Default Schema Context Provider.
|
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.yang.model.RpcContext |
getRpcContext(org.onosproject.yang.model.ResourceId id) |
org.onosproject.yang.model.SchemaContext |
getSchemaContext(org.onosproject.yang.model.ResourceId id) |
public DefaultYangModelRegistry reg
public DefaultSchemaContextProvider(DefaultYangModelRegistry registry)
registry - an instance of Default Yanf Model Registry.public org.onosproject.yang.model.SchemaContext getSchemaContext(org.onosproject.yang.model.ResourceId id)
getSchemaContext in interface org.onosproject.yang.model.SchemaContextProviderpublic org.onosproject.yang.model.RpcContext getRpcContext(org.onosproject.yang.model.ResourceId id)
getRpcContext in interface org.onosproject.yang.model.SchemaContextProviderCopyright © 2018. All rights reserved.