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

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

本文整理了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 handleCaptionStart( Sink sink, SinkEventAttributeSet attribs )
{
  if ( isParent( SimplifiedDocbookMarkup.MEDIAOBJECT_TAG.toString() ) )
  {
    sink.figureCaption( attribs );
  }
  else if ( isParent( SimplifiedDocbookMarkup.INFORMALTABLE_TAG.toString() )
    || isParent( SimplifiedDocbookMarkup.TABLE_TAG.toString() ) )
  {
    sink.tableCaption( attribs );
  }
  parent.push( SimplifiedDocbookMarkup.CAPTION_TAG.toString() );
}

代码示例来源: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.tableCaption();
sink.bold();
sink.text( getI18nString( locale, "stats.caption" ) );

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

private void handleTitleStart( Sink sink, SinkEventAttributeSet attribs )
{
  if ( isParent( SimplifiedDocbookMarkup.TABLE_TAG.toString() )
      || isParent( SimplifiedDocbookMarkup.INFORMALTABLE_TAG.toString() ) )
  {
    sink.tableCaption( attribs );
  }
  else if ( isParent( SimplifiedDocbookMarkup.ARTICLE_TAG.toString() ) )
  {
    sink.title( attribs );
  }
  else if ( isParent( SimplifiedDocbookMarkup.SECTION_TAG.toString() ) )
  {
    sink.sectionTitle( level, attribs );
  }
  else
  {
    sink.bold();
  }
}

相关文章