Package com.sun.xml.txw2.output
Class DumbEscapeHandler
java.lang.Object
com.sun.xml.txw2.output.DumbEscapeHandler
- All Implemented Interfaces:
CharacterEscapeHandler
Escape everything above the US-ASCII code range.
A fallback position.
Works with any JDK, any encoding.
- Since:
- 1.0.1
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
Field Summary
Fields -
Method Summary
-
Field Details
-
theInstance
-
-
Method Details
-
escape
public void escape(char[] ch, int start, int length, boolean isAttVal, Writer out) throws IOException - Specified by:
escape
in interfaceCharacterEscapeHandler
- Parameters:
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.- Throws:
IOException
-