public class HTMLEncoder extends BasicXMLEncoder
HTMLEncoder implementation currently this doesn't add any extra features to XMLEncoder This encoder is for XML, XHTML and HTML5 documents.
Modifiers | Name | Description |
---|---|---|
static CodecIdentifier |
HTML_CODEC_IDENTIFIER |
Fields inherited from class | Fields |
---|---|
class BasicXMLEncoder |
ESCAPED_AMP, ESCAPED_APOS, ESCAPED_AT, ESCAPED_BACKSLASH, ESCAPED_BACKTICK, ESCAPED_GT, ESCAPED_LINE_SEPARATOR, ESCAPED_LT, ESCAPED_NON_BREAKING_SPACE, ESCAPED_PARAGRAPH_SEPARATOR, ESCAPED_QUOTE, LINE_SEPARATOR, NBSP, PARAGRAPH_SEPARATOR, XML_CODEC_IDENTIFIER |
class AbstractCharReplacementEncoder |
codecIdentifier |
Constructor and description |
---|
HTMLEncoder
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.lang.Object |
doEncode(java.lang.Object o) |
Methods inherited from class | Name |
---|---|
class BasicXMLEncoder |
doEncode, encode, encodeAsXmlObject, escapeCharacter, xmlEscapeCharacter |
class AbstractCharReplacementEncoder |
convertToString, createChainingEncodesToWriter, doCharReplacementEncoding, encode, encodeToStream, encodeToWriter, encodeToWriter, escapeCharSequence, escapeCharacter, getCodecIdentifier, isApplyToSafelyEncoded, isSafe, markEncoded |