public class SourceCodeGeneratorFactory extends Object
Constructor and Description |
---|
SourceCodeGeneratorFactory() |
Modifier and Type | Method and Description |
---|---|
SourceCodeGenerator |
getInstance(String generatedSourceDir)
Gets a SourceCodeGenerator instance.
|
public SourceCodeGenerator getInstance(String generatedSourceDir)
Generation of source code is controlled by the org.opendaylight.yangtools.sal.generateCodecSource system property. If set to true, a DefaultSourceCodeGenerator instance is returned, otherwise a NullSourceCodeGenerator is returned.
generatedSourceDir
- the directory in which to put generated source files. If null,
a default is used (see DefaultSourceCodeGenerator).Copyright © 2019 OpenDaylight. All rights reserved.