Beispiel #1
0
 private static void flushStartTag(String tagName, java.io.BufferedWriter outJ)
 {
     //throws IOException {
     flushIndent (++indent, outJ);
     outJ.write ("<"); //$NON-NLS-1$
     outJ.write (tagName);
     outJ.write (">"); //$NON-NLS-1$
     outJ.newLine ();
 }
Beispiel #2
0
        private static void flushEmptyElement(String tagName, String[] attrKeys,
		                                        String[] attrValues, java.io.BufferedWriter outJ)
        {
            // throws IOException {
            flushIndent (++indent, outJ);
            outJ.write ("<"); //$NON-NLS-1$
            outJ.write (tagName);
            flushPairs (attrKeys, attrValues, outJ);
            outJ.write (" />"); //$NON-NLS-1$
            outJ.newLine ();
            indent--;
        }