- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 149 for quot (0.01 sec)
-
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
assertBasicXmlEscaper(xmlAttributeEscaper, true, true); // Test quotes are escaped. assertEquals(""test"", xmlAttributeEscaper.escape("\"test\"")); assertEquals("'test'", xmlAttributeEscaper.escape("'test'")); // Test all escapes assertEquals( "a"b<c>d&e"f'", xmlAttributeEscaper.escape("a\"b<c>d&e\"f'")); // Test '\t', '\n' and '\r' are escaped.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 22:03:28 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/annotation/Secured.java
* attributes for business methods. * <p> * For example: * * <pre> * @Secured({ "ROLE_USER" }) * public void create(Contact contact); * * @Secured({ "ROLE_USER", "ROLE_ADMIN" }) * public void update(Contact contact); * * @Secured({ "ROLE_ADMIN" }) * public void delete(Contact contact); * </pre> */ @Target({ ElementType.METHOD, ElementType.TYPE })
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/html/HtmlEscapersTest.java
*/ @GwtCompatible @NullUnmarked public class HtmlEscapersTest extends TestCase { public void testHtmlEscaper() throws Exception { assertEquals("xxx", htmlEscaper().escape("xxx")); assertEquals(""test"", htmlEscaper().escape("\"test\"")); assertEquals("'test'", htmlEscaper().escape("'test'")); assertEquals("test & test & test", htmlEscaper().escape("test & test & test"));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 22:03:28 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/html/HtmlEscapersTest.java
*/ @GwtCompatible @NullUnmarked public class HtmlEscapersTest extends TestCase { public void testHtmlEscaper() throws Exception { assertEquals("xxx", htmlEscaper().escape("xxx")); assertEquals(""test"", htmlEscaper().escape("\"test\"")); assertEquals("'test'", htmlEscaper().escape("'test'")); assertEquals("test & test & test", htmlEscaper().escape("test & test & test"));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 22:03:28 UTC 2025 - 2.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/XmlUtilTest.java
} public void test_escapeXml_allSpecialChars() { // Test all special characters String input = "Test & < > \"quote\" 'apos'"; String expected = "Test & < > "quote" 'apos'"; assertEquals(expected, XmlUtil.escapeXml(input)); } public void test_escapeXml_noSpecialChars() { // Test string without special charactersRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
* XML entities. This method replaces the following characters: * <ul> * <li>& with &amp;</li> * <li>< with &lt;</li> * <li>> with &gt;</li> * <li>" with &quot;</li> * <li>' with &apos;</li> * </ul> * Additionally, it strips invalid XML characters from the input string. * * @param value the input string to be escapedRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 9.5K bytes - Viewed (0) -
guava/src/com/google/common/html/HtmlEscapers.java
// that are considered authoritative for the behavior of that escaper. private static final Escaper HTML_ESCAPER = Escapers.builder() .addEscape('"', """) // Note: "'" is not defined in HTML 4.01. .addEscape('\'', "'") .addEscape('&', "&") .addEscape('<', "<") .addEscape('>', ">") .build();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
* general way. * * <p>A good example of usage of this class is for HTML escaping where the replacement array * contains information about the named HTML entities such as {@code &} and {@code "} while * {@link #escapeUnsafe} is overridden to handle general escaping of the form {@code &#NNNNN;}. * * <p>The size of the data structure used by {@link ArrayBasedUnicodeEscaper} is proportional to theRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 8.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java
// separator scanner.skip(ATTRIBUTE_SEPARATOR); // value char quote = scanner.getFirst(); scanner.next(); StringBuilder attrValue = new StringBuilder(); while (!scanner.isEmpty() && !scanner.lookingAt(quote)) { if (scanner.lookingAt(HTML_ENCODED_CHAR)) { parseHtmlEncodedChar(attrValue);Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/xml/XmlEscapers.java
} } // Build the content escaper first and then add quote escaping for the // general escaper. builder.addEscape('&', "&"); builder.addEscape('<', "<"); builder.addEscape('>', ">"); XML_CONTENT_ESCAPER = builder.build(); builder.addEscape('\'', "'"); builder.addEscape('"', """); builder.addEscape('\t', "	"); builder.addEscape('\n', "
");Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 17:06:34 UTC 2025 - 6.4K bytes - Viewed (0)