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

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

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

Sink.verbatim介绍

暂无

代码示例

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

/** {@inheritDoc} */
final void before( final Sink sink )
{
  sink.verbatim( SinkEventAttributeSet.BOXED );
}

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

@Override
public void onVerbatim(String content, boolean inline, Map<String, String> parameters)
{
  // TODO: Handle parameters
  this.sink.verbatim(null);
  this.sink.text(content);
  this.sink.verbatim_();
}

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

/** {@inheritDoc} */
  public void traverse( Sink sink )
  {
    sink.verbatim( SinkEventAttributeSet.BOXED );

    sink.text( text );

    sink.verbatim_();
  }
}

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

sink.verbatim( SinkEventAttributeSet.BOXED );

代码示例来源: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_();
}

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

sink.verbatim( SinkEventAttributeSet.BOXED );

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

sink.verbatim( null );
sink.text( code );
sink.verbatim_();

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

sink.verbatim( attribs );

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

sink.unknown( "div", TAG_TYPE_START, atts );
sink.verbatim( null );
sink.text( detail );
sink.verbatim_();

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

sink.unknown( "div", TAG_TYPE_START, atts );
sink.verbatim( null );
sink.text( detail );
sink.verbatim_();

相关文章