@aljunggren aljunggren authored on 2 Jan 2022
src Added isValid() and tests 4 years ago
.gitignore Initial commit 4 years ago
README.md Added isValid() and tests 4 years ago
lombok.config Initial commit 4 years ago
pom.xml Initial commit 4 years ago
README.md

XML Utils

A collection of useful XML utilities

Object to XML

String xml = XmlUtils.objectToXml(myObject);

XML to Object

MyClass myObject = XmlUtils.xmlToObject(xml, MyClass.class);

Check if String is a valid XML

XmlUtils.isValid(xml);

Determine if two XML Strings are equal

XmlUtils.areEqual(xml1, xml2);