Interface CharacterEscapeHandler

  • All Known Implementing Classes:
    DumbEscapeHandler

    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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void escape​(char[] ch, int start, int length, boolean isAttVal, java.io.Writer out)  
    • Method Detail

      • escape

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