Class HtmlText

java.lang.Object
org.apache.juneau.dto.html5.HtmlText

@Xml(format=XMLTEXT) public class HtmlText extends Object
An object that gets serialized as raw XML by the XML and HTML serializers.

Can be used to serialize text containing markup without escaping the markup. For example:

Example:

HtmlText htmlText = new HtmlText("<span>&#2753;</span>");

See Also: