Interface CharacterEscapeHandler

All Known Implementing Classes:
DumbEscapeHandler, MinimumEscapeHandler, NioEscapeHandler, NoEscapeHandler

public interface CharacterEscapeHandler
Performs character escaping and write the result to the output.
Since:
1.0.1
Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    escape(char[] ch, int start, int length, boolean isAttVal, Writer out)
     
  • Method Details

    • escape

      void escape(char[] ch, int start, int length, boolean isAttVal, Writer out) throws IOException
      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