Module xml.jackson.extensions
Package io.github.astrapi69.xml.jackson
Class ObjectToXmlFileConverter
java.lang.Object
io.github.astrapi69.xml.jackson.ObjectToXmlFileConverter
- All Implemented Interfaces:
io.github.astrapi69.xml.api.ObjectToXmlFile
public class ObjectToXmlFileConverter
extends Object
implements io.github.astrapi69.xml.api.ObjectToXmlFile
The class
ObjectToXmlFileConverter
provides a single method for convert an object to a
xml file-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ObjectToXmlFileConverter
public ObjectToXmlFileConverter()
-
-
Method Details
-
toXml
Converts the given object to a xml string- Specified by:
toXml
in interfaceio.github.astrapi69.xml.api.ObjectToXmlFile
- Type Parameters:
T
- the generic type of the return type- Parameters:
object
- the object to convert to xml
-