Package org.grails.encoder.impl
package org.grails.encoder.impl
-
ClassesClassDescriptionEscapes characters in JSON outputEncoder implementation that escapes some characters for inclusion in XML documents Currently ', ", <, > and & characters are replaced with XML entities.Encodes and decodes strings to and from HTML.HTML4 decoder that uses Spring's HtmlUtils.htmlUnescape to do the unescaping.This encoder is for HTML4 documents.HTMLEncoder implementation currently this doesn't add any extra features to XMLEncoder This encoder is for XML, XHTML and HTML5 documents.Used for making strings safe to be included in a SCRIPT tag besides normal Javascript escaping, possibly "unsafe" characters are escaped too so that it's safe to include an escaped string in a HTML SCRIPT tag.Codec that doesn't do any encoding or decoding.