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/XmlPrettyPrinter.java
package com.fasterxml.jackson.dataformat.xml; import java.math.BigDecimal; import java.math.BigInteger; import javax.xml.stream.XMLStreamException; import org.codehaus.stax2.XMLStreamWriter2; import com.fasterxml.jackson.core.PrettyPrinter; /** * There are some XML-specific quirks that need extra TLC when * indenting: so we will use a refinement of general purpose one. */ public interface XmlPrettyPrinter extends PrettyPrinter { /** * Method for forcibly writing a start element, without going * through Jackson generator (and thus, without updating currently * active element stack) * * @since 2.1 */ public void writeStartElement(XMLStreamWriter2 sw, String nsURI, String localName) throws XMLStreamException; /** * Method for forcibly writing an end element, without going * through Jackson generator (and thus, without updating currently * active element stack) * * @since 2.1 */ public void writeEndElement(XMLStreamWriter2 sw, int nrOfEntries) throws XMLStreamException; /** * Method for trying to write a linefeed to separate entities outside of the * root element (that is, in prolog or epilog), most often called to separate * XML declaration from the root element. * * @since 2.7 */ public void writePrologLinefeed(XMLStreamWriter2 sw) throws XMLStreamException; public void writeLeafElement(XMLStreamWriter2 sw, String nsURI, String localName, String text, boolean isCData) throws XMLStreamException; public void writeLeafElement(XMLStreamWriter2 sw, String nsURI, String localName, char[] buffer, int offset, int len, boolean isCData) throws XMLStreamException; public void writeLeafElement(XMLStreamWriter2 sw, String nsURI, String localName, boolean value) throws XMLStreamException; // Lots of numbers... public void writeLeafElement(XMLStreamWriter2 sw, String nsURI, String localName, int value) throws XMLStreamException; public void writeLeafElement(XMLStreamWriter2 sw, String nsURI, String localName, long value) throws XMLStreamException; public void writeLeafElement(XMLStreamWriter2 sw, String nsURI, String localName, double value) throws XMLStreamException; public void writeLeafElement(XMLStreamWriter2 sw, String nsURI, String localName, float value) throws XMLStreamException; public void writeLeafElement(XMLStreamWriter2 sw, String nsURI, String localName, BigInteger value) throws XMLStreamException; public void writeLeafElement(XMLStreamWriter2 sw, String nsURI, String localName, BigDecimal value) throws XMLStreamException; // binary element public void writeLeafElement(XMLStreamWriter2 sw, String nsURI, String localName, org.codehaus.stax2.typed.Base64Variant base64variant, byte[] data, int offset, int len) throws XMLStreamException; // empty element to represent null public void writeLeafNullElement(XMLStreamWriter2 sw, String nsURI, String localName) throws XMLStreamException; // TODO: demote from "DefaultXmlPrettyPrinter" in 2.13 or later: // public void writeLeafXsiNilElement(XMLStreamWriter2 sw, // String nsURI, String localName) // throws XMLStreamException; }
⏎ com/fasterxml/jackson/dataformat/xml/XmlPrettyPrinter.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, 13063👍, 0💬
Popular Posts:
What Is poi-contrib-3.5.jar? poi-contrib-3.5.jar is one of the JAR files for Apache POI 3.5, which p...
How to run "jarsigner" command from JDK tools.jar file? "jarsigner" command allows you to digitally ...
The JMX technology provides the tools for building distributed, Web-based, modular and dynamic solut...
ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify ex...
JDOM provides a solution for using XML from Java that is as simple as Java itself. There is no compe...