Class HTMLEntityEncoder

java.lang.Object
org.owasp.validator.html.util.HTMLEntityEncoder

public class HTMLEntityEncoder extends Object
  • Constructor Details

    • HTMLEntityEncoder

      public HTMLEntityEncoder()
  • Method Details

    • htmlEntityEncode

      public static String htmlEntityEncode(String value)
      A helper method for HTML entity-encoding a String value.
      Parameters:
      value - A String containing HTML control characters.
      Returns:
      An HTML-encoded String.