Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for Escapers (0.04 sec)

  1. guava/src/com/google/common/escape/CharEscaper.java

     *
     * <p>A {@code CharEscaper} instance is required to be stateless, and safe when used concurrently by
     * multiple threads.
     *
     * <p>Popular escapers are defined as constants in classes like {@link
     * com.google.common.html.HtmlEscapers} and {@link com.google.common.xml.XmlEscapers}. To create
     * your own escapers extend this class and implement the {@link #escape(char)} method.
     *
     * @author Sven Mawson
     * @since 15.0
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/package-info.java

     * the License.
     */
    
    /**
     * Interfaces, utilities, and simple implementations of escapers and encoders. The primary type is
     * {@link Escaper}.
     *
     * <p>Additional escapers implementations are found in the applicable packages: {@link
     * com.google.common.html.HtmlEscapers} in {@code com.google.common.html}, {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/xml/package-info.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /**
     * Escapers
     * for
     * XML.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     */
    @CheckReturnValue
    @NullMarked
    package com.google.common.xml;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 911 bytes
    - Viewed (0)
  4. guava/src/com/google/common/xml/package-info.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /**
     * Escapers
     * for
     * XML.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     */
    @CheckReturnValue
    @NullMarked
    package com.google.common.xml;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 911 bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        // Test all escapes
        assertEquals(
            "a&quot;b&lt;c&gt;d&amp;e&quot;f&apos;", xmlAttributeEscaper.escape("a\"b<c>d&e\"f'"));
        // Test '\t', '\n' and '\r' are escaped.
        assertEquals("a&#x9;b&#xA;c&#xD;d", xmlAttributeEscaper.escape("a\tb\nc\rd"));
      }
    
      // Helper to assert common properties of xml escapers.
      static void assertBasicXmlEscaper(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/CharEscaper.java

     *
     * <p>A {@code CharEscaper} instance is required to be stateless, and safe when used concurrently by
     * multiple threads.
     *
     * <p>Popular escapers are defined as constants in classes like {@link
     * com.google.common.html.HtmlEscapers} and {@link com.google.common.xml.XmlEscapers}. To create
     * your own escapers extend this class and implement the {@link #escape(char)} method.
     *
     * @author Sven Mawson
     * @since 15.0
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/html/package-info.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /**
     * Escapers
     * for
     * HTML.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     */
    @CheckReturnValue
    @NullMarked
    package com.google.common.html;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 913 bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * correctly if you are considering implementing a new escaper you should favor using UnicodeEscaper
     * wherever possible.
     *
     * <p>A {@code UnicodeEscaper} instance is required to be stateless, and safe when used concurrently
     * by multiple threads.
     *
     * <p>Popular escapers are defined as constants in classes like {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/escape/UnicodeEscaper.java

     * correctly if you are considering implementing a new escaper you should favor using UnicodeEscaper
     * wherever possible.
     *
     * <p>A {@code UnicodeEscaper} instance is required to be stateless, and safe when used concurrently
     * by multiple threads.
     *
     * <p>Popular escapers are defined as constants in classes like {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

          "\0abyz\u0080\u0100\u0800\u1000ABYZ\uffff" + SMALLEST_SURROGATE + "0189" + LARGEST_SURROGATE;
    
      // Escapes nothing
      private static final UnicodeEscaper NOP_ESCAPER =
          new UnicodeEscaper() {
            @Override
            protected char @Nullable [] escape(int c) {
              return null;
            }
          };
    
      // Escapes everything except [a-zA-Z0-9]
      private static final UnicodeEscaper SIMPLE_ESCAPER =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top