Split out yang-data-tree-{api,spi}
[yangtools.git] / data / yang-data-tree-api / src / main / java / org / opendaylight / yangtools / yang / data / tree / api / DataTreeFactory.java
similarity index 92%
rename from data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/tree/DataTreeFactory.java
rename to data/yang-data-tree-api/src/main/java/org/opendaylight/yangtools/yang/data/tree/api/DataTreeFactory.java
index 5e5fd809468ca4e02dee703864866a56b2f1bfbb..c8f6644dc94c185ec0bd4e16bb82c294e2102345 100644 (file)
@@ -5,7 +5,7 @@
  * 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.data.api.schema.tree;
+package org.opendaylight.yangtools.yang.data.tree.api;
 
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yangtools.yang.data.api.schema.DistinctNodeContainer;
@@ -26,8 +26,7 @@ public interface DataTreeFactory {
      * {@link #create(DataTreeConfiguration, EffectiveModelContext)} is recommended, as it does not suffer from this
      * shortcoming.
      *
-     * @param treeConfig
-     *          Tree configuration.
+     * @param treeConfig Tree configuration.
      * @return A data tree instance.
      * @throws NullPointerException if treeConfig is null
      */
@@ -38,8 +37,7 @@ public interface DataTreeFactory {
      * of the configuration. Mandatory nodes whose enforcement point is the root node will not be enforced even if some
      * are present in the SchemaContext and validation is requested in configuration.
      *
-     * @param treeConfig
-     *          Tree configuration.
+     * @param treeConfig Tree configuration.
      * @return A data tree instance.
      * @throws NullPointerException if any of the arguments are null
      * @throws IllegalArgumentException if tree configuration does not match the SchemaContext, for example by root path
@@ -50,8 +48,7 @@ public interface DataTreeFactory {
     /**
      * Create a new data tree based on specified configuration, with the specified node.
      *
-     * @param treeConfig
-     *          Tree configuration.
+     * @param treeConfig Tree configuration.
      * @return A data tree instance.
      * @throws DataValidationFailedException if initial root is not valid according to the schema context
      * @throws NullPointerException if any of the arguments are null