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.composite.node.schema.cnsn.parser;
10 import java.util.Collections;
13 import org.opendaylight.yangtools.yang.common.QName;
14 import org.opendaylight.yangtools.yang.data.api.Node;
15 import org.opendaylight.yangtools.yang.data.impl.schema.transform.base.parser.LeafNodeBaseParser;
16 import org.opendaylight.yangtools.yang.model.api.LeafSchemaNode;
18 public class LeafNodeCnSnParser extends LeafNodeBaseParser<Node<?>> {
20 public LeafNodeCnSnParser() {
25 protected Object parseLeaf(Node<?> elements, LeafSchemaNode schema) {
26 return elements.getValue();
30 protected Map<QName, String> getAttributes(Node<?> e) {
31 return Collections.emptyMap();