/* * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.controller.yang.data.api; import java.util.List; import org.opendaylight.controller.yang.common.QName; /** * Composite node represents a branch in the data tree, which could contain * nested composite nodes or leaf nodes. In the terms of the XML the simple node * is element which does not text data directly (CDATA or PCDATA), only other * nodes. The composite node is the manifestation of the following data schema * constructs in the YANG: * * * * */ public interface CompositeNode extends Node>> { List> getChildren(); List getCompositesByName(QName children); List getCompositesByName(String children); List> getSimpleNodesByName(QName children); List> getSimpleNodesByName(String children); CompositeNode getFirstCompositeByName(QName container); SimpleNode getFirstSimpleByName(QName leaf); }