Added support for parsing yang models with already resolved context.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / main / java / org / opendaylight / controller / yang / parser / builder / api / Builder.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.controller.yang.parser.builder.api;
9
10 /**
11  * Parent interface for all builder interfaces.
12  */
13 public interface Builder {
14
15     /**
16      * Build YANG data model node.
17      *
18      * This method should create an instance of YANG data model node. After
19      * creating an instance, this instance should be returned for each call
20      * without repeating build process.
21      *
22      * @return YANG data model node
23      */
24     Object build();
25
26     int getLine();
27
28 }