summaryrefslogtreecommitdiffstats
path: root/org/madore/damlengine/XemptyAttrHandler.java
diff options
context:
space:
mode:
authorDavid A. Madore <david@procyon.(none)>2010-04-14 20:52:52 +0200
committerDavid A. Madore <david@procyon.(none)>2010-04-14 20:52:52 +0200
commit5c6ccfca16a421860cd57d11e41d94d8a70cda76 (patch)
treee4a8591e48ebaf93d003dc61f1a42bcf66c1033d /org/madore/damlengine/XemptyAttrHandler.java
parent7d6eccbd43ba703306328e133c43e0760ceead8c (diff)
downloaddamlengine-5c6ccfca16a421860cd57d11e41d94d8a70cda76.tar.gz
damlengine-5c6ccfca16a421860cd57d11e41d94d8a70cda76.tar.bz2
damlengine-5c6ccfca16a421860cd57d11e41d94d8a70cda76.zip
Make handlers instances instead of using static methods.
Diffstat (limited to 'org/madore/damlengine/XemptyAttrHandler.java')
-rw-r--r--org/madore/damlengine/XemptyAttrHandler.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/org/madore/damlengine/XemptyAttrHandler.java b/org/madore/damlengine/XemptyAttrHandler.java
index 3120d26..16f8173 100644
--- a/org/madore/damlengine/XemptyAttrHandler.java
+++ b/org/madore/damlengine/XemptyAttrHandler.java
@@ -2,11 +2,9 @@ package org.madore.damlengine;
import org.w3c.dom.*;
-public class XemptyAttrHandler {
+public class XemptyAttrHandler extends AttrHandler {
- private XemptyAttrHandler() { }
-
- public static void handle(TodoAttr that) {
+ public void handle(TodoAttr that) {
that.owner.removeAttribute(that.attr.getName());
that.owner.appendChild(DamlEngine.doc.createComment(" EMPTY "));
}