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.12.4-sources.jar). You can download it at Jackson Maven Website.

You can also browse Jackson Dataformat XML Source Code below:

✍: FYIcenter.com


package com.fasterxml.jackson.dataformat.xml.util;

 * Helper container class used to contain XML specific information
 * we need to retain to construct proper bean serializer
public class XmlInfo
    protected final String _namespace;
    protected final boolean _isAttribute;
    protected final boolean _isText;
    protected final boolean _isCData;
    public XmlInfo(Boolean isAttribute, String ns, Boolean isText, Boolean isCData)
        _isAttribute = (isAttribute == null) ? false : isAttribute.booleanValue();
        _namespace = (ns == null) ? "" : ns;
        _isText = (isText == null) ? false : isText.booleanValue();
        _isCData = (isCData == null) ? false : isCData.booleanValue();

    public String getNamespace() { return _namespace; }
    public boolean isAttribute() { return _isAttribute; }
    public boolean isText() { return _isText; }
    public boolean isCData() { return _isCData; }



⇒ Download Jackson Dataformat Binary Packages

⇐ Jackson Dataformat Extensions

⇑ Downloading and Reviewing jackson-*.jar

⇑⇑ Jackson - Java JSON library

2021-10-10, 6430👍, 0💬