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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String generateMenuItemXml​(java.lang.Object menuItemImpl, org.w3c.dom.Element itemDefinition)
      Generates the XML used for rendering a menu item.
    • Method Detail

      • generateMenuItemXml

        java.lang.String generateMenuItemXml​(java.lang.Object menuItemImpl,
                                             org.w3c.dom.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