2 * Copyright (c) 2014 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.controller.sal.restconf.impl;
10 import org.opendaylight.controller.md.sal.dom.api.DOMMountPoint;
11 import org.opendaylight.yangtools.yang.data.api.CompositeNode;
12 import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
15 * @deprecated class will be removed in Lithium release
18 public class StructuredData {
20 private final CompositeNode data;
21 private final DataSchemaNode schema;
22 private final DOMMountPoint mountPoint;
23 private final boolean prettyPrintMode;
25 public StructuredData(final CompositeNode data, final DataSchemaNode schema, final DOMMountPoint mountPoint) {
26 this(data, schema, mountPoint, false);
29 public StructuredData(final CompositeNode data, final DataSchemaNode schema, final DOMMountPoint mountPoint,
30 final boolean preattyPrintMode) {
33 this.mountPoint = mountPoint;
34 prettyPrintMode = preattyPrintMode;
37 public CompositeNode getData() {
41 public DataSchemaNode getSchema() {
45 public DOMMountPoint getMountPoint() {
49 public boolean isPrettyPrintMode() {
50 return prettyPrintMode;