Class XmlMarshaller
java.lang.Object
org.projecthusky.common.utils.xml.XmlMarshaller
@DefaultQualifier(value=org.checkerframework.checker.nullness.qual.NonNull.class,
locations={PARAMETER,RETURN})
public class XmlMarshaller
extends Object
This class provides a marshaller implementation to convert various objects into their XML representation.
- Author:
- Quentin Ligier
-
Method Summary
-
Method Details
-
marshall
Marshalles an object to aString
.- Parameters:
object
- The object to marshall.- Returns:
- the XML representation of the
object
. - Throws:
javax.xml.bind.JAXBException
- if an error was encountered while creating the marshaller.
-