Class ObjectToXmlFileConverter

java.lang.Object
io.github.astrapi69.jaxb.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 Details

    • ObjectToXmlFileConverter

      public ObjectToXmlFileConverter()
  • Method Details

    • toXml

      public <T> void toXml(@NonNull T object, @NonNull @NonNull File file)
      Specified by:
      toXml in interface io.github.astrapi69.xml.api.ObjectToXmlFile