cc38139c61027af255c55fd3f0841c78855e2070
[mdsal.git] / binding / mdsal-binding-dom-codec / src / main / java / org / opendaylight / mdsal / binding / dom / codec / gen / impl / AbstractGenerator.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. 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.dom.codec.gen.impl;
9
10 /**
11  * Package-private base class for sharing the loading capability.
12  *
13  * @deprecated This class is superseded by an internal implementation.
14  */
15 @Deprecated
16 abstract class AbstractGenerator {
17     /**
18      * Ensure that the serializer class for specified class is loaded and return its name.
19      *
20      * @param cls Data object class
21      * @return Serializer class name
22      */
23     protected abstract String loadSerializerFor(Class<?> cls);
24 }