public class MinimumEscapeHandler extends Object implements CharacterEscapeHandler
Modifier and Type | Field and Description |
---|---|
static CharacterEscapeHandler |
theInstance |
Modifier and Type | Method and Description |
---|---|
void |
escape(char[] ch,
int start,
int length,
boolean isAttVal,
Writer out) |
public static final CharacterEscapeHandler theInstance
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 © 2017 JBoss by Red Hat. All rights reserved.