Module dev.mccue.guava.escape
Package dev.mccue.guava.escape
@CheckReturnValue
@ParametersAreNonnullByDefault
package dev.mccue.guava.escape
Interfaces, utilities, and simple implementations of escapers and encoders. The primary type is
Escaper.
Additional escapers implementations are found in the applicable packages:
dev.mccue.guava.html.HtmlEscapers in dev.mccue.guava.html,
dev.mccue.guava.xml.XmlEscapers in dev.mccue.guava.xml, and
dev.mccue.guava.net.UrlEscapers in dev.mccue.guava.net.
This package is a part of the open-source Guava library.
-
ClassesClassDescriptionA
CharEscaperthat uses an array to quickly look up replacement characters for a givencharvalue.An implementation-specific parameter class suitable for initializingArrayBasedCharEscaperorArrayBasedUnicodeEscaperinstances.AUnicodeEscaperthat uses an array to quickly look up replacement characters for a given code point.An object that converts literal text into a format safe for inclusion in a particular context (such as an XML document).Simple helper class to build a "sparse" array of objects based on the indexes that were added to it.An object that converts literal text into a format safe for inclusion in a particular context (such as an XML document).Static utility methods pertaining toEscaperinstances.A builder for simple, fast escapers.AnEscaperthat converts literal text into a format safe for inclusion in a particular context (such as an XML document).