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.restconf.common.schema;
10 import org.opendaylight.mdsal.dom.api.DOMYangTextSourceProvider;
11 import org.opendaylight.yangtools.yang.model.api.Module;
12 import org.opendaylight.yangtools.yang.model.api.SchemaContext;
14 public class SchemaExportContext {
16 private final SchemaContext schemaContext;
17 private final Module module;
18 private final DOMYangTextSourceProvider sourceProvider;
20 public SchemaExportContext(final SchemaContext ctx, final Module module,
21 final DOMYangTextSourceProvider sourceProvider) {
24 this.sourceProvider = sourceProvider;
27 public SchemaContext getSchemaContext() {
31 public Module getModule() {
35 public DOMYangTextSourceProvider getSourceProvider() {
36 return sourceProvider;