Interface IMenuItemParser


  • public interface IMenuItemParser
    Parser for menu item definition.
    Since:
    8.2.0
    Version:
    $Revision: 20172 $ $Date: 2017-05-17 13:28:09 -0300 (Wed, 17 May 2017) $
    • Method Detail

      • generateMenuItemXml

        String generateMenuItemXml​(Object menuItemImpl,
                                   Element itemDefinition)
                            throws PortalException
        Generates the XML used for rendering a menu item.
        Parameters:
        menuItemImpl - the object that implements the menu item.
        itemDefinition - the menu item definition element.
        parametersElement - element containing the parameters to be used for processing the menu item.
        Returns:
        the XML generated.
        Throws:
        PortalException - if the XML could not be generated.
        Since:
        8.2.0