@OverrideOnDemand
  public void beforeAddRenderedMenuItem (@Nonnull final IWebPageExecutionContext aWPEC,
                                         @Nonnull final IMenuObject aMenuObj,
                                         @Nullable final IHCElement <?> aPreviousLI)
  {
    if (aMenuObj.getMenuObjectType () == EMenuObjectType.SEPARATOR && aPreviousLI != null)
      aPreviousLI.addStyle (CCSSProperties.MARGIN_BOTTOM.newValue ("1em"));
  }
@ OverrideOnDemand public void beforeAddRenderedMenuItem ( @ Nonnull final IWebPageExecutionContext aWPEC , @ Nonnull final IMenuObject aMenuObj , @ Nullable final IHCElement < ? > aPreviousLI ) { if ( aMenuObj . getMenuObjectType ( ) == EMenuObjectType . SEPARATOR && aPreviousLI != null ) aPreviousLI . addStyle ( CCSSProperties . MARGIN_BOTTOM . newValue ( "1em" ) ) ; }
Called before a menu item is rendered.

@param aWPEC
Web page execution context. May not be <code>null</code>.
@param aMenuObj
The menu object about to be rendered. Never <code>null</code>.
@param aPreviousLI
The previous element from the last call. May be <code>null</code>.