2 * Copyright (c) 2013 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/epl-v10.html
8 package org.opendaylight.yangtools.yang.data.impl.util;
10 import org.opendaylight.yangtools.yang.common.QName;
11 import org.opendaylight.yangtools.yang.data.api.CompositeNode;
12 import org.opendaylight.yangtools.yang.data.api.Node;
15 * @deprecated Use one of the NormalizedNode builders instead.
18 public interface CompositeNodeBuilder<P extends CompositeNode> extends NodeBuilder<P,CompositeNodeBuilder<P>> {
20 CompositeNodeBuilder<P> addLeaf(QName leafName,Object leafValue);
21 CompositeNodeBuilder<P> add(Node<?> node);
22 CompositeNodeBuilder<P> addAll(Iterable<? extends Node<?>> nodes);
23 CompositeNodeBuilder<P> addLeaf(String leafLocalName, String leafValue);