Class XmlPersistenceRecipe

  • All Implemented Interfaces:
    de.iip_ecosphere.platform.support.aas.PersistenceRecipe

    class XmlPersistenceRecipe
    extends AbstractPersistenceRecipe
    An XML persistence recipe.
    Author:
    Holger Eichelberger, SSE
    • Field Detail

      • XML

        private static final de.iip_ecosphere.platform.support.FileFormat XML
    • Constructor Detail

      • XmlPersistenceRecipe

        XmlPersistenceRecipe()
        Creates an instance.
    • Method Detail

      • writeTo

        public void writeTo​(java.util.List<de.iip_ecosphere.platform.support.aas.Aas> aas,
                            java.io.File file)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • readFrom

        public java.util.List<de.iip_ecosphere.platform.support.aas.Aas> readFrom​(java.io.File file)
                                                                           throws java.io.IOException
        Throws:
        java.io.IOException