Fix checkstyle in mdsal-binding2-dom-codec
[mdsal.git] / binding2 / mdsal-binding2-dom-codec / src / main / java / org / opendaylight / mdsal / binding / javav2 / dom / codec / generator / spi / generator / AbstractGenerator.java
1 /*
2  * Copyright (c) 2017 Pantheon Technologies 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.javav2.dom.codec.generator.spi.generator;
9
10 import com.google.common.annotations.Beta;
11
12 /**
13  * Base class for sharing the loading capability.
14  */
15 @Beta
16 public abstract class AbstractGenerator {
17
18     /**
19      * Ensure that the serializer class for specified class is loaded and return
20      * its name.
21      *
22      * @param cls
23      *            - data tree class
24      * @return serializer class name
25      */
26     public abstract String loadSerializerFor(Class<?> cls);
27 }