Class mxDomUtils


  • public class mxDomUtils
    extends java.lang.Object
    Contains various DOM API helper methods for use with mxGraph.
    • Constructor Summary

      Constructors 
      Constructor Description
      mxDomUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.w3c.dom.Document createDocument()
      Returns a new, empty DOM document.
      static org.w3c.dom.Document createHtmlDocument()
      Returns a document with a HTML node containing a HEAD and BODY node.
      static org.w3c.dom.Document createSvgDocument​(int width, int height)
      Creates a new SVG document for the given width and height.
      static org.w3c.dom.Document createVmlDocument()  
      • Methods inherited from class java.lang.Object

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

      • mxDomUtils

        public mxDomUtils()
    • Method Detail

      • createDocument

        public static org.w3c.dom.Document createDocument()
        Returns a new, empty DOM document.
        Returns:
        Returns a new DOM document.
      • createSvgDocument

        public static org.w3c.dom.Document createSvgDocument​(int width,
                                                             int height)
        Creates a new SVG document for the given width and height.
      • createVmlDocument

        public static org.w3c.dom.Document createVmlDocument()
      • createHtmlDocument

        public static org.w3c.dom.Document createHtmlDocument()
        Returns a document with a HTML node containing a HEAD and BODY node.