<commit_before>// Copyright (c) 2003-2011, Jodd Team (jodd.org). All Rights Reserved.

package jodd.lagarto;

import java.io.IOException;

/**
 * Tag writer outputs content to destination.
 */
public class TagWriter implements TagVisitor {

	protected final boolean forceBuild;
	protected Appendable appendable;

	public TagWriter(Appendable appendable) {
		this.appendable = appendable;
		this.forceBuild = false;<commit_msg>javadoc<commit_after>// Copyright (c) 2003-2011, Jodd Team (jodd.org). All Rights Reserved.

package jodd.lagarto;

import java.io.IOException;

/**
 * Tag writer outputs content to destination.
 * As writer is usually called at the end of visitor chain,
 * it will not handle or warn about any errors.
 */
public class TagWriter implements TagVisitor {

	protected final boolean forceBuild;
	protected Appendable appendable;

	public TagWriter(Appendable appendable) {
		this.appendable = appendable;
		this.forceBuild = false;
{'fraction_non_alphanumeric': 0.08385744234800839, 'fraction_numerical': 0.016771488469601678, 'mean_word_length': 4.5523255813953485, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6603888', 'n_tokens_mistral': 287, 'n_tokens_neox': 266, 'n_words': 97}