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

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

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

Sink.monospaced_介绍

暂无

代码示例

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

/** {@inheritDoc} */
  public  void after(  Sink sink )
  {
    sink.monospaced_();
  }
}

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

/** {@inheritDoc} */
  final void after( final Sink sink )
  {
    sink.monospaced_();
  }
}

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

private void handleEmailStart( XmlPullParser parser, Sink sink, SinkEventAttributeSet attribs )
    throws XmlPullParserException
{
  try
  {
    final String mailto = parser.nextText();
    sink.link( "mailto:" + mailto, attribs );
    sink.monospaced();
    sink.text( mailto, null );
    sink.monospaced_();
    sink.link_();
  }
  catch ( IOException e )
  {
    throw new XmlPullParserException( "IOException: " + e.getMessage(), parser, e );
  }
}

代码示例来源:origin: revapi/revapi

sink.monospaced();
sink.text(d.difference.code);
sink.monospaced_();
sink.tableCell_();
sink.text(element);
sink.bold_();
sink.monospaced_();

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

sink.monospaced();
  sink.text( line );
  sink.monospaced_();
  linenum++;
sink.monospaced_();
sink.text( value );
sink.text( "\"" );
sink.monospaced_();

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

&& MONOSPACE_ELEMENTS.contains( parser.getName() ) )
sink.monospaced_();
sink.bold_();
&& MONOSPACE_ELEMENTS.contains( parser.getName() ) )
sink.monospaced_();
sink.italic_();
sink.monospaced_();

代码示例来源:origin: org.apache.felix/maven-bundle-plugin

sink.monospaced();
sink.text( packageName );
sink.monospaced_();
  sink.monospaced();
  sink.text( newerVersion.toString() );
  sink.monospaced_();
  sink.text( ", older version: " );
  sink.monospaced();
  if ( suggestedVersion != null )
    sink.monospaced_();
    sink.text( ", suggested version: " );
    sink.monospaced();
    sink.text( suggestedVersion.toString() );
  sink.monospaced_();
  sink.text( ")" );

代码示例来源:origin: org.apache.felix/maven-bundle-plugin

@Override
protected void startDiff( final Object context,
             int depth,
             String type,
             String name,
             String delta,
             String shortDelta )
{
  final Context ctx = (Context)context;
  final Sink sink = ctx.sink;
  if ( ctx.currentDepth < depth )
  {
    sink.list();
  }
  ctx.currentDepth = depth;
  sink.listItem();
  sink.figure();
  sink.figureGraphics( "images/baseline/" + type + ".gif" );
  sink.figure_();
  sink.text( " " );
  sink.monospaced();
  sink.text( name );
  sink.monospaced_();
  sink.text( " " );
  sink.italic();
  sink.text( delta );
  sink.italic_();
}

相关文章