Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
titleIf the model is not registered the implementation returns null else it returns schema context corresponding to a given resource identifier.
SchemaContext getSchemaContext(ResourceId id)

Helper Utils

 

 

  • Runtime Helper

    Represents utility for runtime.These utilities can be used by the application to get the YANG model for the application and also it can be used by the runtime to get the YANG Node for the given YANG model.
    Examples API's :

    Code Block
    languagejava
    titleTo obtain YANG model for given generated class:
     YANGModel getModel(Class<?> aClass)
    Code Block
    languagejava
    titleTo get YANG node for given YANG model
     Set<YANGNode> getNodes(YANGModel model)
    Code Block
    languagejava
    titleTo get interface class name of the schema node
     String getInterfaceClassName(YANGSchemaNode schemaNode)

...