1) Moved net.sourceforge.phpeclipse.ui\src\net\sourceforge\phpdt back to net.sourcefo...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / wizards / html / ElementWriter.java
index 8bd46ee..243b44e 100644 (file)
@@ -4,9 +4,9 @@
  */
 package net.sourceforge.phpeclipse.wizards.html;
 
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.OutputStreamWriter;
+//import java.io.IOException;
+//import java.io.OutputStream;
+//import java.io.OutputStreamWriter;
 import java.util.HashMap;
 
 import org.w3c.dom.Element;
@@ -64,17 +64,17 @@ public class ElementWriter {
                return buff.toString();
        }
 
-       public void writeTag(Element element, OutputStream out) throws IOException {
-               OutputStreamWriter writer = new OutputStreamWriter(out);
-               try {
-                       writer.write("<?xml version=\"1.0\"?>\n\n");
-                       writer.write(new ElementWriter().expandTag(element));
-               } finally {
-                       if (writer != null) {
-                               writer.close();
-                       }
-               }
-       }
+//     public void writeTag(Element element, OutputStream out) throws IOException {
+//             OutputStreamWriter writer = new OutputStreamWriter(out);
+//             try {
+//                     writer.write("<?xml version=\"1.0\"?>\n\n");
+//                     writer.write(new ElementWriter().expandTag(element));
+//             } finally {
+//                     if (writer != null) {
+//                             writer.close();
+//                     }
+//             }
+//     }
 
        void expandTag(Element element, int level, StringBuffer buff) {
                expandIndent(level, buff);
@@ -130,12 +130,12 @@ public class ElementWriter {
                }
        }
 
-       public int getDefaultExpandOption() {
-               return defaultExpandOption;
-       }
+//     public int getDefaultExpandOption() {
+//             return defaultExpandOption;
+//     }
 
-       public void setDefaultExpandOption(int i) {
-               defaultExpandOption = i;
-       }
+//     public void setDefaultExpandOption(int i) {
+//             defaultExpandOption = i;
+//     }
 
 }
\ No newline at end of file