Promote SchemaSourceRepresentation
[yangtools.git] / model / yang-model-spi / src / main / java / org / opendaylight / yangtools / yang / model / spi / source / YinXmlSource.java
similarity index 73%
rename from yang/yang-repo-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/api/YinXmlSchemaSource.java
rename to model/yang-model-spi/src/main/java/org/opendaylight/yangtools/yang/model/spi/source/YinXmlSource.java
index 4bd18ee53a1b1fbe8e20483aa936b2c0eca89a1b..9f62b1296ddd3ec7b247de6118022f1488c5367a 100644 (file)
@@ -5,19 +5,18 @@
  * 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.yangtools.yang.model.repo.api;
+package org.opendaylight.yangtools.yang.model.spi.source;
 
-import com.google.common.annotations.Beta;
 import javax.xml.transform.Source;
 import org.eclipse.jdt.annotation.NonNull;
+import org.opendaylight.yangtools.yang.model.api.source.YinSourceRepresentation;
 
 /**
  * YIN text schema source representation. Exposes an RFC6020 or RFC7950 XML representation as an XML {@link Source}.
  */
-@Beta
-public interface YinXmlSchemaSource extends YinSchemaSourceRepresentation {
+public interface YinXmlSource extends YinSourceRepresentation {
     @Override
-    Class<? extends YinXmlSchemaSource> getType();
+    Class<? extends YinXmlSource> getType();
 
     /**
      * Return an XML {@link Source} of the YIN document.