package com.formulasearchengine.mathmlquerygenerator;

/**
 * Created by Moritz on 08.11.2014.
 */
public class NtcirPattern {
	private final String num;
	private final String formulaID;
	private final String xQueryExpression;

	public NtcirPattern (String num, String formulaID, String xQueryExpression) {
		this.num = num;
		this.formulaID = formulaID;
		this.xQueryExpression = xQueryExpression;
	}

	public String getNum () {
		return num;
	}

	public String getFormulaID () {
		return formulaID;
	}

	public String getxQueryExpression () {
		return xQueryExpression;
	}
}

@@ -48,16 +48,42 @@
 rator;%0A%0A
+import org.w3c.dom.Node;%0A%0A
 /**%0A * C
@@ -99,16 +99,25 @@
  Moritz 
+Schubotz 
 on 08.11
@@ -254,16 +254,48 @@
 ression;
+%0A%09private final Node mathMLNode;
 %0A%0A%09publi
@@ -363,16 +363,33 @@
 pression
+, Node mathMLNode
 ) %7B%0A%09%09th
@@ -476,16 +476,48 @@
 ession;%0A
+%09%09this.mathMLNode = mathMLNode;%0A
 %09%7D%0A%0A%09pub
@@ -683,11 +683,65 @@
 sion;%0A%09%7D
+%0A%0A%09public Node getMathMLNode () %7B return mathMLNode; %7D
 %0A%7D%0A

Store the MathML node