Class XmlUtil


  • public class XmlUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      XmlUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T decode​(java.lang.Class<T> clazz, java.io.File configuration)  
      static <T> T decode​(java.lang.Class<T> clazz, java.io.File configuration, java.lang.String artemisHome, java.lang.String artemisInstance, java.net.URI artemisURIInstance)
      We offer parameters for artemisInstance and artemisHome as they could be coming from the CLI or Maven Plugin
      • Methods inherited from class java.lang.Object

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

      • XmlUtil

        public XmlUtil()
    • Method Detail

      • decode

        public static <T> T decode​(java.lang.Class<T> clazz,
                                   java.io.File configuration)
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • decode

        public static <T> T decode​(java.lang.Class<T> clazz,
                                   java.io.File configuration,
                                   java.lang.String artemisHome,
                                   java.lang.String artemisInstance,
                                   java.net.URI artemisURIInstance)
                            throws java.lang.Exception
        We offer parameters for artemisInstance and artemisHome as they could be coming from the CLI or Maven Plugin
        Throws:
        java.lang.Exception