* 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.yangtools.yang.parser.builder.api;
* 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.yangtools.yang.parser.builder.api;
* Common builder for for all YANG {@link DataNodeContainer}
* <code>augment, case, container,
* grouping, list, module, notification</code>.
* Common builder for for all YANG {@link DataNodeContainer}
* <code>augment, case, container,
* grouping, list, module, notification</code>.
*
* This child node builder are build, during invoking {@link #build()} and
* added as children to resulting {@link DataNodeContainer}.
*
* @return collection child nodes builders
*/
*
* This child node builder are build, during invoking {@link #build()} and
* added as children to resulting {@link DataNodeContainer}.
*
* @return collection child nodes builders
*/
+ /**
+ * Add builder of child node to this node at specified position.
+ *
+ * @param index position at which the child node will be added
+ * @param childNode name of child node to add at specified position
+ */
+ void addChildNode(int index, DataSchemaNodeBuilder childNode);
+
void addChildNode(DataSchemaNode childNode);
void addChildNodeToContext(DataSchemaNodeBuilder childNode);
void addChildNode(DataSchemaNode childNode);
void addChildNodeToContext(DataSchemaNodeBuilder childNode);
*/
void addTypedef(TypeDefinitionBuilder typedefBuilder);
/**
* Returns an instance of product - DataNodeContainer
*
*/
void addTypedef(TypeDefinitionBuilder typedefBuilder);
/**
* Returns an instance of product - DataNodeContainer
*
- * Returns an instance of data node container with
- * children and properties constructed as per this builder state,
- * all nested builders are also built and their product is
- * set to DataNodeContainer.
+ * Returns an instance of data node container with children and properties
+ * constructed as per this builder state, all nested builders are also built
+ * and their product is set to DataNodeContainer.