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

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

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

Sink.tableCell介绍

暂无

代码示例

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

/** {@inheritDoc} */
final void before( final Sink sink )
{
  sink.tableCell();
}

代码示例来源:origin: apache/maven-surefire

private static void sinkCell( Sink sink, String text )
{
  sink.tableCell();
  sink.text( text );
  sink.tableCell_();
}

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

private static void sinkCell( Sink sink, String text )
{
  sink.tableCell();
  sink.text( text );
  sink.tableCell_();
}

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

/** {@inheritDoc} */
public  void before(  Sink sink )
{
  sink.tableCell();
}

代码示例来源:origin: apache/maven-surefire

private static void sinkCellLink( Sink sink, String text, String link )
{
  sink.tableCell();
  sinkLink( sink, text, link );
  sink.tableCell_();
}

代码示例来源:origin: org.xwiki.rendering/xwiki-rendering-syntax-doxia

@Override
public void beginTableCell(Map<String, String> parameters)
{
  this.sink.tableCell();
}

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

private void sinkCell( Sink sink, String text )
{
  sink.tableCell();
  sink.text( text );
  sink.tableCell_();
}

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

protected void sinkCellText( String text )
{
  sink.tableCell();
  sink.text( text );
  sink.tableCell_();
}

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

private static void sinkCellLink( Sink sink, String text, String link )
{
  sink.tableCell();
  sinkLink( sink, text, link );
  sink.tableCell_();
}

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

void renderIndexRow(final int counter, final String label, final String id)
{
 sink.tableRow();
 sink.tableCell();
 sink.text(String.valueOf(counter));
 sink.tableCell_();
 sink.tableCell();
 renderInPageLink(label, id);
 sink.tableCell_();
 sink.tableRow_();
}

代码示例来源:origin: apache/maven-surefire

private static void sinkCellAnchor( Sink sink, String text, String anchor )
{
  sink.tableCell();
  sinkAnchor( sink, anchor );
  sink.text( text );
  sink.tableCell_();
}

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

@Override
protected void renderRowNumber(final int counter)
{
 if (informationFilter.isShowNumbering())
 {
  sink.tableCell();
  sink.text(String.valueOf(counter));
  sink.tableCell_();
 }
}

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

private static void sinkCellAnchor( Sink sink, String text, String anchor )
{
  sink.tableCell();
  sinkAnchor( sink, anchor );
  sink.text( text );
  sink.tableCell_();
}

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

@Override
protected void renderRowNumber(final int counter)
{
 if (informationFilter.isShowNumbering())
 {
  sink.tableCell();
  sink.text(String.valueOf(counter));
  sink.tableCell_();
 }
}

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

void renderIndexRow(final int counter, final String label, final String id)
{
 sink.tableRow();
 sink.tableCell();
 sink.text(String.valueOf(counter));
 sink.tableCell_();
 sink.tableCell();
 renderInPageLink(label, id);
 sink.tableCell_();
 sink.tableRow_();
}

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

/**
 * Create a table cell with a link to the given url. The url is not validated.
 *
 * @param url
 */
private void tableCellForUrl( String url )
{
  sink.tableCell();
  if ( StringUtils.isEmpty( url ) )
  {
    text( url );
  }
  else
  {
    link( url, url );
  }
  sink.tableCell_();
}

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

protected void sinkCellText( String width, String text )
{
  SinkEventAttributes attrs = new SinkEventAttributeSet();
  attrs.addAttribute( SinkEventAttributes.WIDTH, width );
  sink.tableCell( attrs );
  sink.text( text );
  sink.tableCell_();
}

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

@Override
protected void renderSentence(final ScenarioTestDoc scenario)
{
 sink.tableCell();
 final String testSentence =
   messages.getLabel(scenario.getId(), scenario.getTestMethod()
     .getTestSentence());
 sink.text(testSentence);
 sink.tableCell_();
}

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

@Override
protected void renderSentence(final ScenarioTestDoc scenario)
{
 sink.tableCell();
 final String testSentence =
   messages.getLabel(scenario.getId(), scenario.getTestMethod()
     .getTestSentence());
 sink.text(testSentence);
 sink.tableCell_();
}

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

private void processSingleProcessingError( ProcessingError error ) throws IOException
{
  String filename = error.getFile();
  PmdFileInfo fileInfo = determineFileInfo( filename );
  filename = makeFileSectionName( shortenFilename( filename, fileInfo ), fileInfo );
  sink.tableRow();
  sink.tableCell();
  sink.text( filename );
  sink.tableCell_();
  sink.tableCell();
  sink.text( error.getMsg() );
  sink.verbatim( null );
  sink.rawText( error.getDetail() );
  sink.verbatim_();
  sink.tableCell_();
  sink.tableRow_();
}

相关文章