Class NoEscapeHandler

  • All Implemented Interfaces:
    CharacterEscapeHandler

    public class NoEscapeHandler
    extends java.lang.Object
    implements CharacterEscapeHandler
    Performs no character escaping.
    Author:
    Roman Grigoriadi (roman.grigoriadi@oracle.com)
    • Constructor Summary

      Constructors 
      Constructor Description
      NoEscapeHandler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void escape​(char[] ch, int start, int length, boolean isAttVal, java.io.Writer out)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoEscapeHandler

        public NoEscapeHandler()
    • Method Detail

      • escape

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