2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
\r
4 * This program and the accompanying materials are made available under the
\r
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
\r
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
\r
8 package org.opendaylight.yangtools.yang.data.api;
\r
11 * Simple node represents a leaf in the data tree, which does not contain any
\r
12 * nested nodes, but the value of node. In the terms of the XML the simple node
\r
13 * is element which contains only text data (CDATA or PCDATA). The simple node
\r
14 * is the manifestation of the following data schema constructs in YANG:
\r
16 * <li><b>leaf</b> - simple node could represent YANG leafs of all types except
\r
17 * the empty type, which in XML form is similar to the empty container.</li>
\r
18 * <li><b>item</b> in <b>leaf-list</b></li>
\r
24 public interface SimpleNode<T> extends Node<T>, NodeModification {
\r
27 * @return cast self to mutable, if possible
\r
29 MutableSimpleNode<T> asMutable();
\r