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;