Class MinimumEscapeHandler

java.lang.Object
com.sun.xml.bind.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 Details

  • Method Details

    • escape

      public void escape(char[] ch, int start, int length, boolean isAttVal, Writer out) throws IOException
      Specified by:
      escape in interface CharacterEscapeHandler
      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