From ecf37865065014d85c2b2cddc3fed3a3231781f3 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sun, 8 Aug 2010 00:02:18 +0200 Subject: [PATCH] Cleaning. --- src/fr/devinsy/xid/DomPresenter.java | 21 +++++---------------- src/fr/devinsy/xid/FilePresenter.java | 2 +- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/src/fr/devinsy/xid/DomPresenter.java b/src/fr/devinsy/xid/DomPresenter.java index 7775b5e..f3a2fb1 100644 --- a/src/fr/devinsy/xid/DomPresenter.java +++ b/src/fr/devinsy/xid/DomPresenter.java @@ -1,8 +1,8 @@ package fr.devinsy.xid; import java.io.StringWriter; +import org.w3c.dom.Document; -import org.w3c.dom.*; /** * @@ -11,19 +11,7 @@ public class DomPresenter extends Presenter { static final public char INDEX_SEPARATOR = '_'; - static protected org.apache.log4j.Logger logger; - static - { - logger = org.apache.log4j.Logger.getLogger (DomPresenter.class); - } - - static protected String staticRootPath; - static - { - staticRootPath = null; - } - - + static protected org.apache.log4j.Logger logger = org.apache.log4j.Logger.getLogger (DomPresenter.class); protected Document doc; /* @@ -48,7 +36,7 @@ public class DomPresenter extends Presenter /** * */ - public Document getDom () + public Document dom () { Document result; @@ -82,7 +70,7 @@ public class DomPresenter extends Presenter /* * */ - public Object getSource () + public Object source () { Object result; @@ -101,6 +89,7 @@ public class DomPresenter extends Presenter return (doXid (datas.getIdsDataById ())); } + /* * */ diff --git a/src/fr/devinsy/xid/FilePresenter.java b/src/fr/devinsy/xid/FilePresenter.java index 732c4da..a402e6f 100644 --- a/src/fr/devinsy/xid/FilePresenter.java +++ b/src/fr/devinsy/xid/FilePresenter.java @@ -56,7 +56,7 @@ public class FilePresenter extends DomPresenter /* * */ - public String getSource () + public String source () { String result;