Merge "BUG-1201: make yangtools compilable with java 8."
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / tree / DataTreeFactory.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.yangtools.yang.data.api.schema.tree;
9
10 /**
11  * Factory interface for creating data trees.
12  */
13 public interface DataTreeFactory {
14     /**
15      * Create a new data tree.
16      *
17      * @return A data tree instance.
18      */
19     DataTree create();
20 }