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/eplv10.html
8 package org.opendaylight.yangtools.yang.model.repo.api;
10 import org.w3c.dom.Document;
13 * Yin schema source representation. Exposes an RFC6020 YIN XML representation
14 * as an W3C {@link Document}.
16 public interface YinSchemaSource extends SchemaSourceRepresentation {
21 SourceIdentifier getIdentifier();
27 Class<? extends YinSchemaSource> getType();
30 * Return schema source as a Yin-compliant Document.
32 * @return W3C DOM document.
34 Document getYinDocument();