summaryrefslogtreecommitdiffstats
path: root/src/grammar/InterpolationMethod.java
blob: 72619c5739bcb30ef8582bd258fcf5cfdba523e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package grammar;

/** InterpolationMethod
 *
 * @author Andrei Aiordachioaie
 */
public class InterpolationMethod  implements IParseTreeNode
{

    String interp, resistance;

    public InterpolationMethod(String interp, String resist)
    {
        this.interp = interp;
        this.resistance = resist;
    }
    
    public String toXML()
    {
        String result = "";
        result += "<interpolationMethod>" + interp + "</interpolationMethod>";
        result += "<nullResistance>" + resistance + "</nullResistance>";
        return result;
    }
    
}