summaryrefslogtreecommitdiffstats
path: root/org/madore/damlengine/TodoElement.java
diff options
context:
space:
mode:
Diffstat (limited to 'org/madore/damlengine/TodoElement.java')
-rw-r--r--org/madore/damlengine/TodoElement.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/org/madore/damlengine/TodoElement.java b/org/madore/damlengine/TodoElement.java
index 3cb07de..a871968 100644
--- a/org/madore/damlengine/TodoElement.java
+++ b/org/madore/damlengine/TodoElement.java
@@ -9,7 +9,7 @@ public abstract class TodoElement extends TodoItem {
public static abstract class Factory {
public abstract TodoElement newItem(Element node,
Context ctx,
- TodoItem.Options options);
+ TodoItem caller);
}
protected static Map<String,Factory> damlFactories;
@@ -26,21 +26,21 @@ public abstract class TodoElement extends TodoItem {
public TodoElement(Element node,
Context ctx,
- TodoItem.Options options) {
- super(ctx, options);
+ TodoItem caller) {
+ super(ctx, caller);
this.node = node;
}
public static TodoElement getTodoElement(Element node,
Context ctx,
- TodoItem.Options options) {
+ TodoItem caller) {
Factory factory = null;
String nsuri = node.getNamespaceURI();
if ( nsuri != null && nsuri.equals(DamlEngine.DAML_NS) )
factory = damlFactories.get(node.getLocalName());
if ( factory == null )
factory = damlDefaultFactory;
- return factory.newItem(node, ctx, options);
+ return factory.newItem(node, ctx, caller);
}
}