Class HierarchyPrinter


  • public class HierarchyPrinter
    extends java.lang.Object
    Debugging tool useful when trying to figure out the hierarchy of the shapes in a Visio diagram
    • Constructor Detail

      • HierarchyPrinter

        public HierarchyPrinter()
    • Method Detail

      • printHierarchy

        public static void printHierarchy​(XDGFPage page,
                                          java.io.File outDir)
                                   throws java.io.FileNotFoundException,
                                          java.io.UnsupportedEncodingException,
                                          java.io.IOException
        Throws:
        java.io.FileNotFoundException
        java.io.UnsupportedEncodingException
        java.io.IOException
      • printHierarchy

        public static void printHierarchy​(XDGFPage page,
                                          java.io.PrintStream os)
      • printHierarchy

        public static void printHierarchy​(XmlVisioDocument document,
                                          java.lang.String outDirname)
                                   throws java.io.FileNotFoundException,
                                          java.io.UnsupportedEncodingException,
                                          java.io.IOException
        Throws:
        java.io.FileNotFoundException
        java.io.UnsupportedEncodingException
        java.io.IOException
      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception