Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
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 (309)
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/XmlAnnotationIntrospector.java
package com.fasterxml.jackson.dataformat.xml; import com.fasterxml.jackson.databind.AnnotationIntrospector; import com.fasterxml.jackson.databind.cfg.MapperConfig; import com.fasterxml.jackson.databind.introspect.Annotated; import com.fasterxml.jackson.databind.introspect.AnnotationIntrospectorPair; /** * Additional extension interface used above and beyond * {@link AnnotationIntrospector} to handle XML-specific configuration. */ public interface XmlAnnotationIntrospector extends AnnotationIntrospector.XmlExtensions { /* /********************************************************************** /* Replacement of 'AnnotationIntrospector.Pair' to use when combining /* (potential) XMLAnnotationIntrospector instance /********************************************************************** */ /** * Extension of <code>AnnotationIntrospector.Pair</code> that can * also dispatch 'XmlAnnotationIntrospector' methods. */ public static class Pair extends AnnotationIntrospectorPair implements XmlAnnotationIntrospector { private static final long serialVersionUID = 1L; protected final AnnotationIntrospector.XmlExtensions _xmlPrimary; protected final AnnotationIntrospector.XmlExtensions _xmlSecondary; public Pair(AnnotationIntrospector p, AnnotationIntrospector s) { super(p, s); if (p instanceof AnnotationIntrospector.XmlExtensions) { _xmlPrimary = (AnnotationIntrospector.XmlExtensions) p; } else { _xmlPrimary = null; } if (s instanceof AnnotationIntrospector.XmlExtensions) { _xmlSecondary = (AnnotationIntrospector.XmlExtensions) s; } else { _xmlSecondary = null; } } public static XmlAnnotationIntrospector.Pair instance(AnnotationIntrospector a1, AnnotationIntrospector a2) { return new XmlAnnotationIntrospector.Pair(a1, a2); } @Override public String findNamespace(MapperConfig<?> config, Annotated ann) { String value = (_xmlPrimary == null) ? null : _xmlPrimary.findNamespace(config, ann); if ((value == null) && (_xmlSecondary != null)) { value = _xmlSecondary.findNamespace(config, ann); } return value; } @Override public Boolean isOutputAsAttribute(MapperConfig<?> config, Annotated ann) { Boolean value = (_xmlPrimary == null) ? null : _xmlPrimary.isOutputAsAttribute(config, ann); if ((value == null) && (_xmlSecondary != null)) { value = _xmlSecondary.isOutputAsAttribute(config, ann); } return value; } @Override public Boolean isOutputAsText(MapperConfig<?> config, Annotated ann) { Boolean value = (_xmlPrimary == null) ? null : _xmlPrimary.isOutputAsText(config, ann); if ((value == null) && (_xmlSecondary != null)) { value = _xmlSecondary.isOutputAsText(config, ann); } return value; } @Override public Boolean isOutputAsCData(MapperConfig<?> config, Annotated ann) { Boolean value = (_xmlPrimary == null) ? null : _xmlPrimary.isOutputAsCData(config, ann); if ((value == null) && (_xmlSecondary != null)) { value = _xmlSecondary.isOutputAsCData(config, ann); } return value; } } }
⏎ com/fasterxml/jackson/dataformat/xml/XmlAnnotationIntrospector.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, 16198👍, 0💬
Popular Posts:
JSP(tm) Standard Tag Library 1.1 implementation - Jakarta Taglibs hosts the Standard Taglib 1.1, an ...
What Is HttpComponents commons-httpclient-3.1.j ar?HttpComponents commons-httpclient-3.1.j aris the ...
What Is commons-codec-1.4.jar? commons-codec-1.4.jar is the JAR file for Apache Commons Codec 1.4, w...
JDK 17 jdk.compiler.jmod is the JMOD file for JDK 17 Compiler tool, which can be invoked by the "jav...
Java Servlet 3.0 Specification API. JAR File Size and Download Location: File name: servlet-api.jar,...