2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.mdsal.binding.dom.codec.gen.impl;
11 * Package-private base class for sharing the loading capability.
13 abstract class AbstractGenerator {
15 * Ensure that the serializer class for specified class is loaded and return its name.
17 * @param cls Data object class
18 * @return Serializer class name
20 protected abstract String loadSerializerFor(Class<?> cls);