org.apache.maven.doxia.sink.Sink.section3()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(6.0k)|赞(0)|评价(0)|浏览(146)

本文整理了Java中org.apache.maven.doxia.sink.Sink.section3()方法的一些代码示例,展示了Sink.section3()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Sink.section3()方法的具体详情如下:
包路径:org.apache.maven.doxia.sink.Sink
类名称:Sink
方法名:section3

Sink.section3介绍

暂无

代码示例

代码示例来源:origin: org.codehaus.mojo/versions-maven-plugin

private void renderDependencyDetail( Dependency dependency, ArtifactVersions details )
{
  sink.section3();
  sink.sectionTitle3();
  sink.text( MessageFormat.format( getText( "report.pluginDependency" ), new Object[] {
    ArtifactUtils.versionlessKey( dependency.getGroupId(), dependency.getArtifactId() ) } ) );
  sink.sectionTitle3_();
  renderDependencyDetailTable( dependency, details, false, true, true );
  sink.section3_();
}

代码示例来源:origin: de.smartics.testdoc/maven-testdoc-report-plugin

private void renderSectionStart(final int level)
{
 switch (level)
 {
  case 1:
   sink.section1();
   break;
  case 2:
   sink.section2();
   break;
  case 3:
   sink.section3();
   break;
  case 4:
   sink.section4();
   break;
  case 5:
   sink.section5();
   break;
  default:
   sink.section5();
   break;
 }
}

代码示例来源:origin: mojohaus/versions-maven-plugin

private void renderDependencyDetail( Dependency dependency, ArtifactVersions details )
{
  sink.section3();
  sink.sectionTitle3();
  sink.text( MessageFormat.format( getText( "report.pluginDependency" ), new Object[] {
    ArtifactUtils.versionlessKey( dependency.getGroupId(), dependency.getArtifactId() ) } ) );
  sink.sectionTitle3_();
  renderDependencyDetailTable( dependency, details, false, true, true );
  sink.section3_();
}

代码示例来源:origin: de.smartics.testdoc/testdoc-maven-report-plugin

private void renderSectionStart(final int level)
{
 switch (level)
 {
  case 1:
   sink.section1();
   break;
  case 2:
   sink.section2();
   break;
  case 3:
   sink.section3();
   break;
  case 4:
   sink.section4();
   break;
  case 5:
   sink.section5();
   break;
  default:
   sink.section5();
   break;
 }
}

代码示例来源:origin: org.apache.maven.plugins/maven-project-info-reports-plugin

List<ReverseDependencyLink> depList = entry.getValue();
sink.section3();
sink.sectionTitle3();
sink.text( key );
sink.section3();
sink.sectionTitle3();

代码示例来源:origin: de.smartics.testdoc/testdoc-maven-report-plugin

@Override
protected void renderTestDocTypeStart(final UnitTestDoc testDoc)
{
 final Type type = testDoc.getUutType();
 final String id = type.toString();
 final String name = type.getTypeName();
 sink.section3();
 helper.renderAnchor(id);
 sink.sectionTitle3();
 sink.text(name + " (" + type.getPackageName() + ')');
 sink.sectionTitle3_();
}

代码示例来源:origin: de.smartics.testdoc/maven-testdoc-report-plugin

private void renderSectionIndex(final Section<UnitTestDoc> section)
{
 final List<Section<UnitTestDoc>> subSections = section.getSubSections();
 if (!subSections.isEmpty())
 {
  sink.section3();
  final String id = section.getName();
  helper.renderAnchor(id);
  sink.sectionTitle3();
  sink.text(messages.getLabel("index." + id));
  sink.sectionTitle3_();
  helper.renderIndexTableStart();
  int counter = 1;
  for (final Section<UnitTestDoc> subSection : subSections)
  {
   final String name = subSection.getName();
   helper.renderIndexRow(counter, name);
   counter++;
  }
  helper.renderIndexTableEnd();
  sink.section3_();
 }
}

代码示例来源:origin: de.smartics.testdoc/maven-testdoc-report-plugin

@Override
protected void renderTestDocTypeStart(final UnitTestDoc testDoc)
{
 final Type type = testDoc.getUutType();
 final String id = type.toString();
 final String name = type.getTypeName();
 sink.section3();
 helper.renderAnchor(id);
 sink.sectionTitle3();
 sink.text(name + " (" + type.getPackageName() + ')');
 sink.sectionTitle3_();
}

代码示例来源:origin: de.smartics.testdoc/testdoc-maven-report-plugin

private void renderSectionIndex(final Section<UnitTestDoc> section)
{
 final List<Section<UnitTestDoc>> subSections = section.getSubSections();
 if (!subSections.isEmpty())
 {
  sink.section3();
  final String id = section.getName();
  helper.renderAnchor(id);
  sink.sectionTitle3();
  sink.text(messages.getLabel("index." + id));
  sink.sectionTitle3_();
  helper.renderIndexTableStart();
  int counter = 1;
  for (final Section<UnitTestDoc> subSection : subSections)
  {
   final String name = subSection.getName();
   helper.renderIndexRow(counter, name);
   counter++;
  }
  helper.renderIndexTableEnd();
  sink.section3_();
 }
}

代码示例来源:origin: org.apache.maven.doxia/doxia-module-xdoc

/**
   * Open missing h4, h5, h6 sections.
   */
  private void openMissingSections( int newLevel, Sink sink )
  {
    while ( getSectionLevel() < newLevel - 1 )
    {
      setSectionLevel( getSectionLevel() + 1 );

      if ( getSectionLevel() == Sink.SECTION_LEVEL_5 )
      {
        sink.section5();
      }
      else if ( getSectionLevel() == Sink.SECTION_LEVEL_4 )
      {
        sink.section4();
      }
      else if ( getSectionLevel() == Sink.SECTION_LEVEL_3 )
      {
        sink.section3();
      }
      else if ( getSectionLevel() == Sink.SECTION_LEVEL_2 )
      {
        sink.section2();
      }
    }
  }
}

代码示例来源:origin: revapi/revapi

sink.section3();
sink.sectionTitle3();
sink.text(bundle.getString(typeKey));

代码示例来源:origin: org.apache.maven.plugins/maven-project-info-reports-plugin

break;
case 3:
  sink.section3();
  sink.sectionTitle3();
  break;

代码示例来源:origin: org.apache.maven.doxia/doxia-module-confluence

sink.section3();
sink.sectionTitle3();

代码示例来源:origin: org.apache.maven.plugins/maven-site-plugin

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_();
}

代码示例来源:origin: kreyssel/selenium2-visualdiff

sink.section3();
sink.sectionTitle3();
sink.text("Test Method " + testMethod);

代码示例来源:origin: org.codehaus.mojo/versions-maven-plugin

sink.section3();
sink.sectionTitle3();
sink.text( MessageFormat.format( getText( "report.pluginDependencies" ), new Object[] {

代码示例来源:origin: mojohaus/versions-maven-plugin

sink.section3();
sink.sectionTitle3();
sink.text( MessageFormat.format( getText( "report.pluginDependencies" ), new Object[] {

相关文章