Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for unescaping (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

    /**
     * Abstract base class for XML extractors.
     * Provides common functionality for extracting text content from XML-like documents.
     * It handles encoding detection, HTML entity unescaping, and tag-based content extraction.
     *
     */
    public abstract class AbstractXmlExtractor extends AbstractExtractor {
    
        /**
         * Logger for this class.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/xml/XmlEscapers.java

     * elements' text contents. When possible, avoid manual escaping by using templating systems and
     * high-level APIs that provide autoescaping. For example, consider <a
     * href="http://www.xom.nu/">XOM</a>.
     *
     * <p><b>Note:</b> Currently the escapers provided by this class do not escape any characters
     * outside the ASCII character range. Unlike HTML escaping the XML escapers will not escape
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 17:06:34 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            return value;
        }
    
        /**
         * Escapes special characters in a query string if escaping is enabled.
         * Replaces reserved characters with their escaped equivalents based on the Constants.RESERVED array.
         *
         * @param value the query string to escape
         * @return the escaped query string, or the original value if escaping is disabled
         */
        protected String escapeQuery(final String value) {
            if (!escape) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        assertEscaping(xmlEscaper, "\uFFFD", '\uFFFF');
    
        assertEquals(
            "0xFFFE is forbidden and should be replaced during escaping",
            "[\uFFFD]",
            xmlEscaper.escape("[\ufffe]"));
        assertEquals(
            "0xFFFF is forbidden and should be replaced during escaping",
            "[\uFFFD]",
            xmlEscaper.escape("[\uffff]"));
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 22:03:28 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/escape/CharEscaperBuilder.java

      private int max = -1;
    
      /** Construct a new sparse array builder. */
      public CharEscaperBuilder() {
        this.map = new HashMap<>();
      }
    
      /** Add a new mapping from an index to an object to the escaping. */
      @CanIgnoreReturnValue
      public CharEscaperBuilder addEscape(char c, String r) {
        map.put(c, checkNotNull(r));
        if (c > max) {
          max = c;
        }
        return this;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        }
    
        @Test
        public void testEscapeWildcardQuery() {
            // Test escaping asterisk
            String query1 = "test*query";
            String escaped1 = SuggestUtil.escapeWildcardQuery(query1);
            assertEquals("test\\*query", escaped1);
    
            // Test escaping question mark
            String query2 = "test?query";
            String escaped2 = SuggestUtil.escapeWildcardQuery(query2);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/XmlUtilTest.java

        }
    
        public void test_escapeXml_empty() {
            // Test empty string
            assertEquals("", XmlUtil.escapeXml(""));
        }
    
        public void test_escapeXml_basic() {
            // Test basic XML escaping
            assertEquals("&lt;tag&gt;value&lt;/tag&gt;", XmlUtil.escapeXml("<tag>value</tag>"));
        }
    
        public void test_escapeXml_allSpecialChars() {
            // Test all special characters
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. README.md

        System.out.println("Processing: " + resource);
    });
    ```
    
    ### Text Processing and JSON
    ```java
    import org.codelibs.core.text.*;
    
    // JSON utilities with proper escaping
    String escaped = JsonUtil.escape("Hello \"World\" with special chars");
    String unescaped = JsonUtil.unescape(escaped);
    
    // Text tokenization
    Tokenizer tokenizer = new Tokenizer("field1,field2,field3", ",");
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/BaseEncoding.java

     * <td>A-Z a-z 0-9 + /
     * <td>1.33
     * <td>=
     * <td>
     * <tr>
     * <td>{@link #base64Url()}
     * <td>A-Z a-z 0-9 - _
     * <td>1.33
     * <td>=
     * <td>Safe to use as filenames, or to pass in URLs without escaping
     * </table>
     *
     * <p>All instances of this class are immutable, so they may be stored safely as static constants.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Oct 06 14:51:47 UTC 2025
    - 41.7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

      }
    
      @Test
      fun hostnameUri() {
        // Host names are special:
        //
        //  * Several characters are forbidden and must throw exceptions if used.
        //  * They don't use percent escaping at all.
        //  * They use punycode for internationalization.
        //  * URI is much more strict than HttpUrl or URL on what's accepted.
        //
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
Back to top