Class HTMLEncoder
java.lang.Object
net.shibboleth.utilities.java.support.codec.HTMLEncoder
Deprecated, for removal: This API element is subject to removal in a future version.
Legacy version of
HTMLEncoder.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDeprecated, for removal: This API element is subject to removal in a future version.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringencodeForHTML(String input) Deprecated, for removal: This API element is subject to removal in a future version.Encode data for use in HTML using HTML entity encodingstatic StringencodeForHTMLAttribute(String input) Deprecated, for removal: This API element is subject to removal in a future version.Encode data for use in HTML attributes.
-
Constructor Details
-
HTMLEncoder
private HTMLEncoder()Deprecated, for removal: This API element is subject to removal in a future version.Constructor.
-
-
Method Details
-
encodeForHTML
Deprecated, for removal: This API element is subject to removal in a future version.Encode data for use in HTML using HTML entity encodingNote that the following characters: 00-08, 0B-0C, 0E-1F, and 7F-9F
cannot be used in HTML.
- Parameters:
input- the text to encode for HTML- Returns:
- input encoded for HTML
- See Also:
-
encodeForHTMLAttribute
Deprecated, for removal: This API element is subject to removal in a future version.Encode data for use in HTML attributes.- Parameters:
input- the text to encode for an HTML attribute- Returns:
- input encoded for use as an HTML attribute
-