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.yangtools.binding.data.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
16 * and return its name.
18 * @param cls Data object class
19 * @return Serializer class name
21 protected abstract String loadSerializerFor(final Class<?> cls);