Package com.sun.xml.bind.marshaller
Class MinimumEscapeHandler
java.lang.Object
com.sun.xml.bind.marshaller.MinimumEscapeHandler
- All Implemented Interfaces:
CharacterEscapeHandler
Performs no character escaping. Usable only when the output encoding
is UTF, but this handler gives the maximum performance.
- 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
-