public class NioEscapeHandler extends java.lang.Object implements CharacterEscapeHandler
Constructor and Description |
---|
NioEscapeHandler(java.lang.String charsetName) |
Modifier and Type | Method and Description |
---|---|
void |
escape(char[] ch,
int start,
int length,
boolean isAttVal,
java.io.Writer out) |
public void escape(char[] ch, int start, int length, boolean isAttVal, java.io.Writer out) throws java.io.IOException
escape
in interface CharacterEscapeHandler
ch
- The array of characters.start
- The starting position.length
- The number of characters to use.isAttVal
- true if this is an attribute value literal.java.io.IOException