Class XMLUtil


  • public class XMLUtil
    extends java.lang.Object
    Booch utility class for XML processing using DOM
    • Constructor Summary

      Constructors 
      Constructor Description
      XMLUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.w3c.dom.Document documentFromFile​(java.lang.String filename)  
      static org.w3c.dom.Document documentFromString​(java.lang.String documentContents)  
      • Methods inherited from class java.lang.Object

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

      • XMLUtil

        public XMLUtil()
    • Method Detail

      • documentFromString

        public static org.w3c.dom.Document documentFromString​(java.lang.String documentContents)
                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • documentFromFile

        public static org.w3c.dom.Document documentFromFile​(java.lang.String filename)
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception