Class XMLUtilities


  • public class XMLUtilities
    extends java.lang.Object
    • Constructor Detail

      • XMLUtilities

        public XMLUtilities()
    • Method Detail

      • getOfficialNamespaceURI

        public static java.lang.String getOfficialNamespaceURI​(java.lang.String namespacePrefix)
      • XMLFileToXMLDocument

        public static org.w3c.dom.Document XMLFileToXMLDocument​(java.io.File XMLFile)
                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • readXMLDocument

        public static org.w3c.dom.Document readXMLDocument​(java.io.Reader reader)
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • writeXMLDocumentToFile

        public static void writeXMLDocumentToFile​(org.w3c.dom.Document document,
                                                  java.io.File XMLFile)
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • writeXMLDocumentToOSOut

        public static void writeXMLDocumentToOSOut​(org.w3c.dom.Document document)
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • writeXMLDocument

        public static void writeXMLDocument​(org.w3c.dom.Document document,
                                            java.io.Writer writer)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception