Package dev.pxml.core.utilities
Class XMLUtilities
- java.lang.Object
-
- dev.pxml.core.utilities.XMLUtilities
-
public class XMLUtilities extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description XMLUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getOfficialNamespaceURI(java.lang.String namespacePrefix)
static org.w3c.dom.Document
readXMLDocument(java.io.Reader reader)
static void
writeXMLDocument(org.w3c.dom.Document document, java.io.Writer writer)
static void
writeXMLDocumentToFile(org.w3c.dom.Document document, java.io.File XMLFile)
static void
writeXMLDocumentToOSOut(org.w3c.dom.Document document)
static org.w3c.dom.Document
XMLFileToXMLDocument(java.io.File XMLFile)
-
-
-
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
-
-