public class YangModuleInfoTemplate extends Object
YangModuleInfo
implementation for a particular module. Aside from fulfilling that contract,
this class provides a static createQName(String)
method, which is used by co-generated code to initialize
QNAME constants.Constructor and Description |
---|
YangModuleInfoTemplate(org.opendaylight.yangtools.yang.model.api.Module module,
org.opendaylight.yangtools.yang.model.api.SchemaContext ctx,
Function<org.opendaylight.yangtools.yang.model.api.Module,Optional<String>> moduleFilePathResolver) |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
addActualTypeParameters(StringBuilder builder,
Type type) |
String |
generate() |
String |
generateModelProvider() |
String |
getExplicitType(Type type) |
String |
getModelBindingProviderName() |
String |
getPackageName() |
String |
getParameters(Type[] pTypes) |
protected String |
importedName(Class<?> cls) |
void |
putTypeIntoImports(Type type) |
public String generate()
public String generateModelProvider()
public final void putTypeIntoImports(Type type)
public final StringBuilder addActualTypeParameters(StringBuilder builder, Type type)
@Pure public String getPackageName()
@Pure public String getModelBindingProviderName()
Copyright © 2019 OpenDaylight. All rights reserved.