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.api;
12 * @author michal.rehak
14 * @deprecated Use {@link NormalizedNodeUtils} instead.
17 public interface NodeModificationBuilder {
19 abstract Node<?> getMutableEquivalent(Node<?> originalNode);
21 abstract CompositeNode buildDiffTree();
23 abstract void mergeNode(MutableCompositeNode alteredNode);
25 abstract void removeNode(MutableCompositeNode deadNode);
27 abstract void removeNode(MutableSimpleNode<?> deadNode);
29 abstract void deleteNode(MutableSimpleNode<?> deadNode);
31 abstract void deleteNode(MutableCompositeNode deadNode);
33 abstract void replaceNode(MutableCompositeNode replacementNode);
35 abstract void replaceNode(MutableSimpleNode<?> replacementNode);
37 abstract void addNode(MutableCompositeNode newNode);
39 abstract void addNode(MutableSimpleNode<?> newNode);