public class BindingGeneratorImpl extends Object implements BindingGenerator, BindingRuntimeGenerator
| Constructor and Description |
|---|
BindingGeneratorImpl() |
| Modifier and Type | Method and Description |
|---|---|
BindingRuntimeTypes |
generateTypeMapping(org.opendaylight.yangtools.yang.model.api.SchemaContext context)
Generate Type mapping from specified
SchemaContext for the specified subset of modules. |
List<Type> |
generateTypes(org.opendaylight.yangtools.yang.model.api.SchemaContext context,
Set<org.opendaylight.yangtools.yang.model.api.Module> modules)
Resolves generated types from
context schema nodes only for
modules specified in modules
Generated types are created for modules, groupings, types, containers,
lists, choices, augments, rpcs, notification, identities. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerateTypespublic List<Type> generateTypes(org.opendaylight.yangtools.yang.model.api.SchemaContext context, Set<org.opendaylight.yangtools.yang.model.api.Module> modules)
context schema nodes only for
modules specified in modules
Generated types are created for modules, groupings, types, containers,
lists, choices, augments, rpcs, notification, identities.generateTypes in interface BindingGeneratorcontext - schema context which contains data about all schema nodes
saved in modulesmodules - set of modules for which schema nodes should be generated
typesGeneratedType or
GeneratedTransferObject) which:
context schema nodes andmodules
set.IllegalArgumentException - context is null ormodules is nullIllegalStateException - if context contain no modulesModule,
SchemaContextpublic BindingRuntimeTypes generateTypeMapping(org.opendaylight.yangtools.yang.model.api.SchemaContext context)
BindingRuntimeGeneratorSchemaContext for the specified subset of modules. The SchemaContext
MUST contain all of the sub modules otherwise the there is no guarantee that result List of Generated Types will
contain correct Generated Types.generateTypeMapping in interface BindingRuntimeGeneratorcontext - Schema ContextCopyright © 2018 OpenDaylight. All rights reserved.