CharacterEscapeHandler
public class NioEscapeHandler extends Object implements CharacterEscapeHandler
Constructor | Description |
---|---|
NioEscapeHandler(String charsetName) |
Modifier and Type | Method | Description |
---|---|---|
void |
escape(char[] ch,
int start,
int length,
boolean isAttVal,
Writer out) |
public NioEscapeHandler(String charsetName)
public void escape(char[] ch, int start, int length, boolean isAttVal, Writer out) throws 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.IOException
Copyright © 2018 Oracle Corporation. All rights reserved.