summaryrefslogtreecommitdiffstats
path: root/org/madore/damlengine/TodoDefaultElement.java
diff options
context:
space:
mode:
Diffstat (limited to 'org/madore/damlengine/TodoDefaultElement.java')
-rw-r--r--org/madore/damlengine/TodoDefaultElement.java14
1 files changed, 6 insertions, 8 deletions
diff --git a/org/madore/damlengine/TodoDefaultElement.java b/org/madore/damlengine/TodoDefaultElement.java
index a7aa37e..4360fe5 100644
--- a/org/madore/damlengine/TodoDefaultElement.java
+++ b/org/madore/damlengine/TodoDefaultElement.java
@@ -8,15 +8,15 @@ public class TodoDefaultElement extends TodoElement {
public static class Factory extends TodoElement.Factory {
public TodoDefaultElement newItem(Element node,
Context ctx,
- TodoItem.Options options) {
- return new TodoDefaultElement(node, ctx, options);
+ TodoItem caller) {
+ return new TodoDefaultElement(node, ctx, caller);
}
}
public TodoDefaultElement(Element node,
Context ctx,
- TodoItem.Options options) {
- super(node, ctx, options);
+ TodoItem caller) {
+ super(node, ctx, caller);
}
public static ArrayList<Attr> getAttrList(Element node) {
@@ -42,8 +42,7 @@ public class TodoDefaultElement extends TodoElement {
ArrayList<TodoAttr> toProcess = new ArrayList<TodoAttr>(attrList.size());
for ( Attr attr : attrList ) {
TodoAttr it
- = TodoAttr.getTodoAttr(attr, this.node, this.ctx,
- new TodoItem.Options());
+ = TodoAttr.getTodoAttr(attr, this.node, this.ctx, this);
if ( it != null )
toProcess.add(it);
}
@@ -56,8 +55,7 @@ public class TodoDefaultElement extends TodoElement {
for ( Node child : childList ) {
if ( child.getNodeType() == Node.ELEMENT_NODE ) {
TodoElement it
- = TodoElement.getTodoElement((Element)child, this.ctx,
- new TodoItem.Options());
+ = TodoElement.getTodoElement((Element)child, this.ctx, this);
toProcess.add(it);
}
}