Exemple #1
0
 /** Convenience for <code>XWriter.safe(this, s, true)</code>. */
 public final XWriter safe(String s) {
   try {
     XWriter.safe(xout, s, true);
     return this;
   } catch (IOException e) {
     throw error(e);
   }
 }
Exemple #2
0
 /** Convenience for <code>XWriter.safe(this, c, escapeWhitespace)</code>. */
 public final XWriter safe(int c, boolean escapeWhitespace) {
   try {
     XWriter.safe(this, c, escapeWhitespace);
     return this;
   } catch (IOException e) {
     throw error(e);
   }
 }
Exemple #3
0
 /** Convenience for <code>XWriter.safe(this, s, escapeWhitespace)</code>. */
 public final XWriter safe(String s, boolean escapeWhitespace) {
   try {
     XWriter.safe(xout, s, escapeWhitespace);
     return this;
   } catch (IOException e) {
     throw error(e);
   }
 }