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

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

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

Sink.text介绍

暂无

代码示例

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

/** {@inheritDoc} */
  public void traverse( Sink sink )
  {
    sink.text( text );
  }
}

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

/** {@inheritDoc} */
public final void traverse( final Sink sink )
{
  sink.text( text );
}

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

@Override
public void onSpecialSymbol(char symbol)
{
  // Since there's no On Special Symbol event in Doxia we simply generate text
  this.sink.text(String.valueOf(symbol));
}

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

public void traverse( Sink sink )
  {
    sink.text( text, new SinkEventAttributeSet( SinkEventAttributes.DECORATION, "line-through" ) );
  }
}

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

private void sinkTableHeader( Sink sink, String header )
{
  sink.tableHeaderCell();
  sink.text( header );
  sink.tableHeaderCell_();
}

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

void renderLink(final String label, final String link)
{
 sink.link(link);
 sink.text(label);
 sink.link_();
}

代码示例来源: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 sinkHeader( Sink sink, String header )
{
  sink.tableHeaderCell();
  sink.text( header );
  sink.tableHeaderCell_();
}

代码示例来源: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.plugins/maven-surefire-report-plugin

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

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

void renderLink(final String label, final String link)
{
 sink.link(link);
 sink.text(label);
 sink.link_();
}

代码示例来源:origin: net.sf.oqt/oqt-maven-plugin

private void addTitleLink(final String title, final Sink sink) {
  final SinkEventAttributes attributes = new SinkEventAttributeSet();
  attributes.addAttribute(SinkEventAttributes.HREF, "#" + title.replace(" ", "_"));
  sink.link("#" + title.replace(" ", "_"), attributes);
  sink.text(title);
  sink.link_();
  sink.lineBreak();
}

代码示例来源:origin: org.codehaus.mojo/versions-maven-plugin

private void renderDependencyDetail( Dependency dependency, ArtifactVersions details )
{
  sink.section3();
  sink.sectionTitle3();
  sink.text( MessageFormat.format( getText( "report.pluginDependency" ), new Object[] {
    ArtifactUtils.versionlessKey( dependency.getGroupId(), dependency.getArtifactId() ) } ) );
  sink.sectionTitle3_();
  renderDependencyDetailTable( dependency, details, false, true, true );
  sink.section3_();
}

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

private void renderRowNumberHeader()
{
 if (informationFilter.isShowNumbering())
 {
  sink.tableHeaderCell(messages
    .getLabel("report.table.header.counter.width"));
  final String label = messages.getLabel("report.table.header.counter");
  sink.text(label);
  sink.tableHeaderCell_();
 }
}

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

private void renderCategoriesHeader()
{
 if (informationFilter.isShowCategories())
 {
  sink.tableHeaderCell(messages
    .getLabel("report.table.header.categories.width"));
  final String label = messages.getLabel("report.table.header.categories");
  sink.text(label);
  sink.tableHeaderCell_();
 }
}

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

private void iconError( Locale locale, Sink sink )
{
  sink.figure();
  sink.figureCaption();
  sink.text( getI18nString( locale, "icon.error" ) );
  sink.figureCaption_();
  sink.figureGraphics( IMG_ERROR_URL );
  sink.figure_();
}

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

private void iconSuccess( Locale locale, Sink sink )
{
  sink.figure();
  sink.figureCaption();
  sink.text( getI18nString( locale, "icon.success" ) );
  sink.figureCaption_();
  sink.figureGraphics( IMG_SUCCESS_URL );
  sink.figure_();
}

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

protected void renderPageStart()
{
 sink.head();
 sink.title();
 sink.text(messages.getLabel(messages.getReportTitleId()));
 sink.title_();
 sink.head_();
 sink.body();
}

相关文章