summaryrefslogtreecommitdiffstats
path: root/src/grammar/InterpolationMethodList.java
diff options
context:
space:
mode:
authorConstantin Jucovschi <cj@ubuntu.localdomain>2009-03-31 06:18:54 -0400
committerConstantin Jucovschi <cj@ubuntu.localdomain>2009-03-31 06:18:54 -0400
commit0f1055b8d7f97d86c66fa602c17666bc2ff9c437 (patch)
tree9c68fa99a97063bbe4a4231e04fc09329541ac71 /src/grammar/InterpolationMethodList.java
Initial commit
Diffstat (limited to 'src/grammar/InterpolationMethodList.java')
-rw-r--r--src/grammar/InterpolationMethodList.java36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/grammar/InterpolationMethodList.java b/src/grammar/InterpolationMethodList.java
new file mode 100644
index 0000000..4edd4e6
--- /dev/null
+++ b/src/grammar/InterpolationMethodList.java
@@ -0,0 +1,36 @@
+package grammar;
+
+import java.util.*;
+
+/** InterpolationMethodList
+ *
+ * @author Andrei Aiordachioaie
+ */
+public class InterpolationMethodList implements IParseTreeNode
+{
+
+ LinkedList<InterpolationMethod> list;
+
+ public InterpolationMethodList()
+ {
+ list = new LinkedList();
+ }
+
+ public void add(InterpolationMethod meth)
+ {
+ list.add(meth);
+ }
+
+ public String toXML()
+ {
+ String result = "";
+ Iterator<InterpolationMethod> it = list.iterator();
+ while (it.hasNext())
+ {
+ result += it.next().toXML();
+ }
+
+ return result;
+ }
+
+}