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

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

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

Sink.section5介绍

暂无

代码示例

代码示例来源: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: org.apache.maven.doxia/doxia-module-confluence

sink.section5();
sink.sectionTitle5();

代码示例来源: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.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: org.apache.maven.plugins/maven-project-info-reports-plugin

break;
case 5:
  sink.section5();
  sink.sectionTitle5();
  break;

相关文章

微信公众号

最新文章

更多