2 * Copyright (c) 2015 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.model.api;
10 import com.google.common.annotations.Beta;
11 import javax.annotation.Nonnull;
14 * The "YangModeledAnyXml" interface defines an interior node in the schema tree. It takes
15 * one argument, which is an identifier represented by QName inherited from
16 * {@link SchemaNode}, followed by a block of substatements that holds detailed
17 * anyxml information. The substatements are defined in {@link DataSchemaNode}.
18 * The "YangModeledAnyXml" in contrast to the "AnyXml" interface can also provide schema
19 * of contained XML information. <br>
21 * This interface was modeled according to definition in <a
22 * href="https://tools.ietf.org/html/rfc6020#section-7.10">[RFC-6020] The anyxml
26 public interface YangModeledAnyXmlSchemaNode extends AnyXmlSchemaNode {
29 * Returns the root schema node of the data in this anyxml node.
31 * @return DataSchemaNode - schema of contained XML data
34 ContainerSchemaNode getSchemaOfAnyXmlData();