Package docking.help

Class CustomTOCView.CustomDefaultTOCFactory

  • All Implemented Interfaces:
    javax.help.TreeItemFactory
    Enclosing class:
    CustomTOCView

    public static class CustomTOCView.CustomDefaultTOCFactory
    extends javax.help.TOCView.DefaultTOCFactory
    Our custom factory that knows how to look for extra XML attributes and how to create our custom tree items
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.help.TreeItem createItem​(java.lang.String tagName, java.util.Hashtable atts, javax.help.HelpSet hs, java.util.Locale locale)  
      • Methods inherited from class javax.help.TOCView.DefaultTOCFactory

        createItem, listMessages, parsingEnded, parsingStarted, processDOCTYPE, processPI, reportMessage
      • Methods inherited from class java.lang.Object

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

      • CustomDefaultTOCFactory

        public CustomDefaultTOCFactory()
    • Method Detail

      • createItem

        public javax.help.TreeItem createItem​(java.lang.String tagName,
                                              java.util.Hashtable atts,
                                              javax.help.HelpSet hs,
                                              java.util.Locale locale)
        Specified by:
        createItem in interface javax.help.TreeItemFactory
        Overrides:
        createItem in class javax.help.TOCView.DefaultTOCFactory