*/
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;
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);
}
}
- 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