public void setValidCharRange(int minValidChar, int maxValidChar) {
		if (minValidChar <= maxValidChar) {
			this.minValidChar = minValidChar;
			this.maxValidChar = maxValidChar;
		} else {
			this.maxValidChar = minValidChar;
			this.minValidChar = maxValidChar;
		}
	}
public void setValidCharRange ( int minValidChar , int maxValidChar ) { if ( minValidChar <= maxValidChar ) { this . minValidChar = minValidChar ; this . maxValidChar = maxValidChar ; } else { this . maxValidChar = minValidChar ; this . minValidChar = maxValidChar ; } }
Change the range of the valid characters that should not be escaped.
Any character outside the given range is automatically escaped.

<p>If {@code maxValidChar} is lower or equal to zero, the invalid characters
are not put within the result of the escaping.

@param minValidChar the code of the minimal valid character.
@param maxValidChar the code of the maximal valid character.