Class NoneCleaner

java.lang.Object
overit.geocall.ui.cleaner.Cleaner
overit.geocall.ui.cleaner.NoneCleaner
All Implemented Interfaces:
Serializable

public class NoneCleaner extends Cleaner
This class implements the Cleaner object that does not perform any sanitization
See Also:
  • Constructor Details

    • NoneCleaner

      protected NoneCleaner()
  • Method Details

    • safeCopy

      public Cleaner safeCopy()
      Returns the instance of NoneCleaner in fact the cleaning methodology, that is absent, is thread safe
      Specified by:
      safeCopy in class Cleaner
      Returns:
      The instance of the object
    • sift

      public String sift(String html)
      Returns the same string passed as parameter, without any type of sanitization.
      Specified by:
      sift in class Cleaner
      Parameters:
      html - The string to be sanitized
      Returns:
      The same string passed as parameter, without sanitization
    • quote

      public String quote(String html)
      Description copied from class: Cleaner
      Quotes the string passed as parameter, to prevent browser unwanted interpretation.
      Specified by:
      quote in class Cleaner
      Parameters:
      html - The string to be quoted
      Returns:
      The quoted string