/** * Convenience method to write XML comments between two comments line break. The XML comment block is not indented. * * @param writer not null * @param comment * @see #DEFAULT_INDENTATION_SIZE * @see #writeCommentText(XMLWriter, String, int, int) */ public static void writeCommentText( XMLWriter writer, String comment ) { writeCommentText( writer, comment, 0, DEFAULT_INDENTATION_SIZE ); }
/** * Convenience method to write XML comments between two comments line break. The XML comment block is also indented * by <code>indent</code> using <code>2</code> as indentation size. * * @param writer not null * @param comment * @param indent positive number * @see #DEFAULT_INDENTATION_SIZE * @see #writeCommentText(XMLWriter, String, int, int) */ public static void writeCommentText( XMLWriter writer, String comment, int indent ) { writeCommentText( writer, comment, indent, DEFAULT_INDENTATION_SIZE ); }
/** * Convenience method to write XML comment between two comment line break. The XML comment block is also indented by * <code>indent</code> using <code>indentSize</code>. * * @param writer not null * @param comment * @param indent positive number * @param indentSize positive number * @see #DEFAULT_COLUMN_LINE * @see #writeCommentText(XMLWriter, String, int, int, int) */ public static void writeCommentText( XMLWriter writer, String comment, int indent, int indentSize ) { writeCommentText( writer, comment, indent, indentSize, DEFAULT_COLUMN_LINE ); }