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.sal.binding.generator.impl;
10 import org.opendaylight.yangtools.sal.binding.model.api.Type;
11 import org.opendaylight.yangtools.sal.binding.model.api.type.builder.GeneratedTypeBuilder;
12 import org.opendaylight.yangtools.yang.model.api.AugmentationSchema;
13 import org.opendaylight.yangtools.yang.model.api.SchemaNode;
14 import org.opendaylight.yangtools.yang.model.api.SchemaPath;
17 * Internal interface exposed to TransformerGenerator
19 interface TypeResolver {
20 AugmentationSchema getAugmentation(Type type);
21 GeneratedTypeBuilder getDefinition(Type type);
22 SchemaNode getSchemaNode(Type type);
23 GeneratedTypeBuilder getTypeBuilder(SchemaPath path);