buf.append( getName() ); buf.append( "'" ); buf.append( "\n" );
if ( menu.getName() == null )
if ( menu.getName() == null )
if ( menu.getName() == null )
boolean result = true; result = result && ( getName() == null ? that.getName() == null : getName().equals( that.getName() ) ); result = result && ( getInherit() == null ? that.getInherit() == null : getInherit().equals( that.getInherit() ) ); result = result && ( getRef() == null ? that.getRef() == null : getRef().equals( that.getRef() ) );
if ( menu.getName() == null )
if ( menu.getName() == null )
if ( menu.getName() == null )
private void extract( DecorationModel decoration, Sink sink, Locale locale ) { sink.head(); sink.title(); sink.text( i18n.getString( "site-plugin", locale, "site.sitemap.title" ) ); sink.title_(); sink.head_(); sink.body(); sink.section1(); sink.sectionTitle1(); sink.text( i18n.getString( "site-plugin", locale, "site.sitemap.section.title" ) ); sink.sectionTitle1_(); sink.paragraph(); sink.text( i18n.getString( "site-plugin", locale, "site.sitemap.description" ) ); sink.paragraph_(); for ( Menu menu : decoration.getMenus() ) { sink.section3(); sink.sectionTitle3(); sink.text( menu.getName() ); sink.sectionTitle3_(); sink.horizontalRule(); extractItems( menu.getItems(), sink ); sink.section3_(); } sink.section1_(); sink.body_(); }