Class DefaultObjectDrawerFactory

    • Field Detail

      • drawerMap

        private final java.util.Map<java.lang.String,​FSObjectDrawer> drawerMap
        Maps content type => Drawer
    • Constructor Detail

      • DefaultObjectDrawerFactory

        public DefaultObjectDrawerFactory()
    • Method Detail

      • registerDrawer

        public void registerDrawer​(java.lang.String contentType,
                                   FSObjectDrawer drawer)
        Parameters:
        contentType - the content type this drawer is for
        drawer - Drawer
      • isReplacedObject

        public boolean isReplacedObject​(org.w3c.dom.Element e)
        Specified by:
        isReplacedObject in interface FSObjectDrawerFactory
        Parameters:
        e - eleemnt with tag name of object.
        Returns:
        true if this object drawer can handle this element.