HomeSort by relevance Sort by last modified time
    Searched full:escapers (Results 1 - 25 of 34) sorted by null

1 2

  /external/guava/guava-tests/test/com/google/common/escape/
EscapersTest.java 33 Escaper escaper = Escapers.nullEscaper();
41 Escaper escaper = Escapers.builder().setSafeRange('a', 'z').build();
47 Escaper escaper = Escapers.builder().setUnsafeReplacement("X").build();
53 Escapers.Builder builder = Escapers.builder();
71 Escapers.Builder builder = Escapers.builder();
80 // This should have no effect on existing escapers.
83 // Test both escapers after modifying the builder.
95 UnicodeEscaper unicodeEscaper = Escapers.asUnicodeEscaper(charEscaper)
    [all...]
ArrayBasedUnicodeEscaperTest.java 59 // Ensure that Unicode escapers behave correctly wrt badly formed input.
  /external/guava/guava/src/com/google/common/escape/
package-info.java 18 * Interfaces, utilities, and simple implementations of escapers and encoders. The primary type is
21 * <p>Additional escapers implementations are found in the applicable packages: {@link
Escapers.java 38 public final class Escapers {
39 private Escapers() {}
50 // Extending CharEscaper (instead of Escaper) makes Escapers.compose() easier.
63 * Returns a builder for creating simple, fast escapers. A builder instance
74 * <p>For performance reasons escapers created by this builder are not
82 * A builder for simple, fast escapers.
88 * escapers that replace a relative small set of characters.
246 // uncommon and applies only to escapers that assume UCS-2 rather than
249 // We expect this to be the common code path for most escapers.
Escaper.java 47 * implementing new escapers. It is strongly recommended that when implementing a new escaper you
51 * <p>Several popular escapers are defined as constants in classes like {@link
53 * SourceCodeEscapers}. To create your own escapers, use {@link CharEscaperBuilder}, or extend
CharEscaper.java 37 * <p>Several popular escapers are defined as constants in classes like {@link
39 * SourceCodeEscapers}. To create your own escapers extend this class and implement the {@link
UnicodeEscaper.java 49 * <p>Several popular escapers are defined as constants in classes like {@link
52 * your own escapers extend this class and implement the {@link #escape(int)}
  /external/guava/guava/src/com/google/common/html/
package-info.java 18 * Escapers
HtmlEscapers.java 22 import com.google.common.escape.Escapers;
66 Escapers.builder()
  /external/guava/guava/src/com/google/common/xml/
package-info.java 18 * Escapers
XmlEscapers.java 22 import com.google.common.escape.Escapers;
31 * <p><b>Note:</b> Currently the escapers provided by this class do not escape
33 * XML escapers will not escape non-ASCII characters to their numeric entity
34 * replacements. These XML escapers provide the minimal level of escaping to
38 * <p>For details on the behavior of the escapers in this class, see sections
120 Escapers.Builder builder = Escapers.builder();
  /external/guava/guava-testlib/src/com/google/common/escape/testing/
EscaperAsserts.java 19 import static com.google.common.escape.Escapers.computeReplacement;
49 // Escapers operate on characters: no characters, no escaping.
51 // Assert that escapers throw null pointer exceptions.
  /external/jsilver/src/com/google/clearsilver/jsilver/functions/
FunctionRegistry.java 36 protected Map<String, TextFilter> escapers = new HashMap<String, TextFilter>(); field in class:FunctionRegistry
60 TextFilter escaper = escapers.get(name);
148 escapers.put(name, escaper);
  /external/guava/guava/src/com/google/common/net/
UrlEscapers.java 77 * <p><b>Note:</b> Unlike other escapers, URL escapers produce uppercase
119 * <p><b>Note:</b> Unlike other escapers, URL escapers produce uppercase
157 * <p><b>Note:</b> Unlike other escapers, URL escapers produce uppercase
PercentEscaper.java 30 * <p>This class is primarily used for creating URI escapers in {@link
31 * UrlEscapers} but can be used directly if required. While URI escapers impose
61 // In some escapers spaces are escaped to '+'
64 // Percent escapers output upper case hex digits (uri escapers require this).
97 // TODO(user): Support escapers where alphanumeric chars are not safe.
  /external/guava/guava-tests/test/com/google/common/net/
UrlEscapersTest.java 39 * Helper to assert common expected behaviour of uri escapers. You should call
43 // URL escapers should throw null pointer exceptions for null input
51 // All URL escapers should leave 0-9, A-Z, a-z unescaped
80 // Helper to assert common expected behaviour of uri escapers.
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/com/google/gdata/util/common/base/
Escaper.java 36 * Several popular escapers are defined as constants in the class
37 * {@link CharEscapers}. To create your own escapers, use
PercentEscaper.java 89 // In some uri escapers spaces are escaped to '+'
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
Escaper.java 34 * implementing new escapers. It is strongly recommended that when implementing a new escaper you
38 * <p>Several popular escapers are defined as constants in the class {@link CharEscapers}. To create
39 * your own escapers, use {@link CharEscaperBuilder}, or extend {@link CharEscaper} or {@code
CharEscapers.java 32 // TODO(matevossian): To implementors of escapers --
453 * <p><b>Note</b>: Unlike other escapers, URI escapers produce uppercase
495 * <p><b>Note</b>: Unlike other escapers, URI escapers produce uppercase
536 * <p><b>Note</b>: Unlike other escapers, URI escapers produce uppercase
566 * <p><b>Note</b>: Unlike other escapers, URI escapers produce uppercase
617 * <p><b>Note</b>: Unlike other escapers, URI escapers produce uppercas
    [all...]
CharEscaper.java 36 * <p>Several popular escapers are defined as constants in the class {@link CharEscapers}. To create
37 * your own escapers, use {@link CharEscaperBuilder}, or extend this class and implement the {@link
PercentEscaper.java 69 * TODO(dbeaumont): Fix escapers to be compliant with RFC 3986
88 // In some uri escapers spaces are escaped to '+'
UnicodeEscaper.java 49 * <p>Several popular escapers are defined as constants in the class {@link
50 * CharEscapers}. To create your own escapers extend this class and implement
  /external/jsilver/src/com/google/clearsilver/jsilver/syntax/
VarOptimizer.java 60 * construct. This is faster because escapers are called with the strings themselves whereas general
222 /** When used as functions, escapers have the name 'foo_escape' */
287 * sequences of escapers.
  /external/guava/guava-tests/test/com/google/common/xml/
XmlEscapersTest.java 57 // Helper to assert common properties of xml escapers.

Completed in 3415 milliseconds

1 2