org.owasp.validator.html.util
Class HTMLEntityEncoder

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

public class HTMLEntityEncoder
extends Object


Constructor Summary
HTMLEntityEncoder()
           
 
Method Summary
static String htmlEntityEncode(String value)
          A helper method for HTML entity-encoding a String value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLEntityEncoder

public HTMLEntityEncoder()
Method Detail

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.