Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
Jackson Dataformat XML Source Code
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java".
Jackson also allows you to parse or generate XML messages with the Jackson Dataformat XML Extension.
Jackson Dataformat XML Source Code files are provided in the source packge (jackson-dataformat-xml-2.14.0-sources.jar). You can download it at Jackson Maven Website.
You can also browse Jackson Dataformat XML Source Code below:
✍: FYIcenter.com
⏎ com/fasterxml/jackson/dataformat/xml/util/CaseInsensitiveNameSet.java
package com.fasterxml.jackson.dataformat.xml.util;
import java.util.*;
/**
* Helper class for matching element wrappers, possibly in case-insensitive
* manner.
*
* @since 2.12
*/
public final class CaseInsensitiveNameSet extends AbstractSet<String>
{
private final Set<String> _namesToMatch;
private CaseInsensitiveNameSet(Set<String> namesToMatch) {
_namesToMatch = namesToMatch;
}
public static CaseInsensitiveNameSet construct(Set<String> names0) {
Set<String> namesToMatch = new HashSet<String>(names0);
for (String name : names0) {
namesToMatch.add(name.toLowerCase());
}
return new CaseInsensitiveNameSet(namesToMatch);
}
@Override
public boolean contains(Object key0) {
final String key = (String) key0;
if (_namesToMatch.contains(key)) {
return true;
}
final String lc = key.toLowerCase();
return (lc != key) && _namesToMatch.contains(lc);
}
@Override
public Iterator<String> iterator() {
return _namesToMatch.iterator();
}
@Override
public int size() {
return _namesToMatch.size();
}
}
⏎ com/fasterxml/jackson/dataformat/xml/util/CaseInsensitiveNameSet.java
Or download all of them as a single archive file:
File name: jackson-dataformat-xml-2.14.0-sources.jar File size: 98015 bytes Release date: 2022-11-05 Download
⇒ Download Jackson Dataformat Binary Packages
⇐ Jackson Dataformat Extensions
2021-10-10, ≈35🔥, 0💬
Popular Posts:
How to download and install ojdbc7.jar for Oracle 12c R1? ojdbc8.jar for Oracle 12c R1 is a Java 7 a...
JDK 17 jdk.httpserver.jmod is the JMOD file for JDK 17 HTTP Server module. JDK 17 HTTP Server module...
How to download and install JDK (Java Development Kit) 7? If you want to write Java applications, yo...
JDK 17 java.security.jgss.jmod is the JMOD file for JDK 17 Security JGSS (Java Generic Security Serv...
The Web Services Description Language for Java Toolkit (WSDL4J), Release 1.6.2, allows the creation,...