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

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

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

Sink.tableCaption_介绍

暂无

代码示例

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

private void handleCaptionEnd( Sink sink )
{
  parent.pop();
  if ( isParent( SimplifiedDocbookMarkup.MEDIAOBJECT_TAG.toString() ) )
  {
    sink.figureCaption_();
  }
  else if ( isParent( SimplifiedDocbookMarkup.INFORMALTABLE_TAG.toString() )
    || isParent( SimplifiedDocbookMarkup.TABLE_TAG.toString() ) )
  {
    sink.tableCaption_();
  }
}

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

private void handleTitleEnd( Sink sink )
{
  if ( isParent( SimplifiedDocbookMarkup.TABLE_TAG.toString() )
      || isParent( SimplifiedDocbookMarkup.INFORMALTABLE_TAG.toString() ) )
  {
    sink.tableCaption_();
  }
  else if ( isParent( SimplifiedDocbookMarkup.SECTION_TAG.toString() ) )
  {
    sink.sectionTitle_( level );
  }
  else if ( isParent( SimplifiedDocbookMarkup.ARTICLE_TAG.toString() ) )
  {
    sink.title_();
  }
  else
  {
    sink.bold_();
  }
}

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

/**
 * Generate the legend table
 *
 * @param locale
 * @param sink
 */
private void generateLegend( Locale locale, Sink sink )
{
  sink.table();
  sink.tableCaption();
  sink.bold();
  sink.text( getI18nString( locale, "legend" ) );
  sink.bold_();
  sink.tableCaption_();
  sink.tableRow();
  sink.tableCell();
  iconError( locale, sink );
  sink.tableCell_();
  sink.tableCell();
  sink.text( getI18nString( locale, "legend.different" ) );
  sink.tableCell_();
  sink.tableRow_();
  sink.table_();
}

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

sink.text( getI18nString( locale, "stats.caption" ) );
sink.bold_();
sink.tableCaption_();

相关文章