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

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

本文整理了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/testdoc-maven-report-plugin

void renderSectionEnd(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: de.smartics.testdoc/maven-testdoc-report-plugin

void renderSectionEnd(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

break;
case 5:
  sink.section5_();
  break;

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

/**
 * Close open h4, h5, h6 sections.
 */
private void closeOpenSections( int newLevel, Sink sink )
{
  while ( getSectionLevel() >= newLevel )
  {
    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_();
    }
    setSectionLevel( getSectionLevel() - 1 );
  }
}

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

sink.section5_();

相关文章