org.owasp.validator.html.util
Class HTMLEntityEncoder

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

public class HTMLEntityEncoder
extends java.lang.Object


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

Constructor Detail

HTMLEntityEncoder

public HTMLEntityEncoder()
Method Detail

htmlEntityEncode

public static java.lang.String htmlEntityEncode(java.lang.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.


Copyright © 2010 The Open Web Application Security Project (OWASP). All Rights Reserved.