Class XmlReadWriteUtils


  • public final class XmlReadWriteUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static de.kgrupp.monads.result.Result<org.w3c.dom.Document> createEmptyDocument()  
      static de.kgrupp.monads.result.Result<org.w3c.dom.Document> read​(java.io.File file)  
      static de.kgrupp.monads.result.Result<org.w3c.dom.Document> readSafe​(java.io.File file)  
      static de.kgrupp.monads.result.Result<java.lang.Void> write​(org.w3c.dom.Document document, java.io.File file)  
      static de.kgrupp.monads.result.Result<java.lang.Void> writeSafe​(org.w3c.dom.Document document, java.io.File file)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • read

        public static de.kgrupp.monads.result.Result<org.w3c.dom.Document> read​(java.io.File file)
      • readSafe

        public static de.kgrupp.monads.result.Result<org.w3c.dom.Document> readSafe​(java.io.File file)
      • createEmptyDocument

        public static de.kgrupp.monads.result.Result<org.w3c.dom.Document> createEmptyDocument()
      • write

        public static de.kgrupp.monads.result.Result<java.lang.Void> write​(org.w3c.dom.Document document,
                                                                           java.io.File file)
      • writeSafe

        public static de.kgrupp.monads.result.Result<java.lang.Void> writeSafe​(org.w3c.dom.Document document,
                                                                               java.io.File file)