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.nb.rfc8040.rests.services.api;
10 import org.opendaylight.mdsal.dom.api.DOMYangTextSourceProvider;
11 import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
12 import org.opendaylight.yangtools.yang.model.api.Module;
14 public final class SchemaExportContext {
15 private final EffectiveModelContext schemaContext;
16 private final Module module;
17 private final DOMYangTextSourceProvider sourceProvider;
19 public SchemaExportContext(final EffectiveModelContext schemaContext, final Module module,
20 final DOMYangTextSourceProvider sourceProvider) {
21 this.schemaContext = schemaContext;
23 this.sourceProvider = sourceProvider;
26 public EffectiveModelContext getSchemaContext() {
30 public Module getModule() {
34 public DOMYangTextSourceProvider getSourceProvider() {
35 return sourceProvider;