Package org.owasp.validator.html.util
Class HTMLEntityEncoder
java.lang.Object
org.owasp.validator.html.util.HTMLEntityEncoder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
htmlEntityEncode
(String value) A helper method for HTML entity-encoding a String value.
-
Constructor Details
-
HTMLEntityEncoder
public HTMLEntityEncoder()
-
-
Method Details
-
htmlEntityEncode
A helper method for HTML entity-encoding a String value.- Parameters:
value
- A String containing HTML control characters.- Returns:
- An HTML-encoded String.
-