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

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

本文整理了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 after( final Sink sink )
  {
    sink.verbatim_();
  }
}

代码示例来源: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-fml

/** {@inheritDoc} */
protected void handleEndTag( XmlPullParser parser, Sink sink )
  throws XmlPullParserException, MacroExecutionException
{
  if ( parser.getName().equals( QUESTION_TAG.toString() )
      || parser.getName().equals( TITLE.toString() )
    || parser.getName().equals( ANSWER_TAG.toString() ) )
  {
    // ignore
    return;
  }
  else if ( parser.getName().equals( SOURCE_TAG.toString() ) )
  {
    verbatim_();
    sink.verbatim_();
  }
  else if ( !baseEndTag( parser, sink ) )
  {
    if ( !isEmptyElement )
    {
      handleUnknown( parser, sink, TAG_TYPE_END );
    }
  }
  isEmptyElement = false;
}

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

sink.verbatim_();

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

sink.verbatim( null );
sink.text( code );
sink.verbatim_();
sink.rawText( "</td>" );
sink.tableRow_();

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

sink.verbatim_();

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

sink.verbatim_();

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

sink.verbatim_();

相关文章