blob: ac2d9c3e64895e198b43d9954eaade30762dbb0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/*
* Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.opendaylight.restconf.common.schema;
import org.opendaylight.mdsal.dom.api.DOMYangTextSourceProvider;
import org.opendaylight.yangtools.yang.model.api.Module;
import org.opendaylight.yangtools.yang.model.api.SchemaContext;
public class SchemaExportContext {
private final SchemaContext schemaContext;
private final Module module;
private final DOMYangTextSourceProvider sourceProvider;
public SchemaExportContext(final SchemaContext ctx, final Module module,
final DOMYangTextSourceProvider sourceProvider) {
schemaContext = ctx;
this.module = module;
this.sourceProvider = sourceProvider;
}
public SchemaContext getSchemaContext() {
return schemaContext;
}
public Module getModule() {
return module;
}
public DOMYangTextSourceProvider getSourceProvider() {
return sourceProvider;
}
}
|