@Beta public class BindingGeneratorImpl extends Object implements BindingGenerator
| Constructor and Description | 
|---|
BindingGeneratorImpl(boolean verboseClassComments)
Creates a new binding generator v2. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<Type> | 
generateTypes(org.opendaylight.yangtools.yang.model.api.SchemaContext context)
Resolves generated types from  
context schema nodes of all 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. | 
Map<org.opendaylight.yangtools.yang.model.api.Module,ModuleContext> | 
getModuleContexts(org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext)
Return module contexts from generated types according to context. 
 | 
public BindingGeneratorImpl(boolean verboseClassComments)
verboseClassComments - generate verbose commentspublic List<Type> generateTypes(org.opendaylight.yangtools.yang.model.api.SchemaContext context)
context schema nodes of all 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 modulesGeneratedType GeneratedTransferObjectwhich are generated
         from context data.IllegalArgumentException - if arg context is nullIllegalStateException - if context contain no modulesSchemaContextpublic 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 Map<org.opendaylight.yangtools.yang.model.api.Module,ModuleContext> getModuleContexts(org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext)
schemaContext - - for generating typesCopyright © 2018 OpenDaylight. All rights reserved.