- java.lang.Object
-
- org.glassfish.jaxb.core.marshaller.MinimumEscapeHandler
-
- All Implemented Interfaces:
CharacterEscapeHandler
public class MinimumEscapeHandler extends Object implements 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 Modifier and Type Field Description static CharacterEscapeHandlertheInstance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidescape(char[] ch, int start, int length, boolean isAttVal, Writer out)
-
-
-
Field Detail
-
theInstance
public static final CharacterEscapeHandler theInstance
-
-
Method Detail
-
escape
public void escape(char[] ch, int start, int length, boolean isAttVal, Writer out) throws IOException- Specified by:
escapein 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
-
-