Promote replicate to a full feature
[mdsal.git] / binding / maven-sal-api-gen-plugin / src / main / java / org / opendaylight / mdsal / binding / yang / unified / doc / generator / DocumentationGeneratorFactory.java
1 /*
2  * Copyright (c) 2021 PANTHEON.tech, s.r.o. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.mdsal.binding.yang.unified.doc.generator;
9
10 import java.util.Map;
11 import org.kohsuke.MetaInfServices;
12 import org.opendaylight.yangtools.plugin.generator.api.AbstractFileGeneratorFactory;
13 import org.opendaylight.yangtools.plugin.generator.api.FileGenerator;
14 import org.opendaylight.yangtools.plugin.generator.api.FileGeneratorFactory;
15
16 @MetaInfServices(value = FileGeneratorFactory.class)
17 public final class DocumentationGeneratorFactory extends AbstractFileGeneratorFactory {
18     public DocumentationGeneratorFactory() {
19         super(DocumentationGenerator.class.getName());
20     }
21
22     @Override
23     public FileGenerator newFileGenerator(final Map<String, String> configuration) {
24         return new DocumentationGenerator();
25     }
26 }