本文整理了Java中org.apache.maven.doxia.sink.Sink.monospaced()
方法的一些代码示例,展示了Sink.monospaced()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Sink.monospaced()
方法的具体详情如下:
包路径:org.apache.maven.doxia.sink.Sink
类名称:Sink
方法名:monospaced
暂无
代码示例来源:origin: org.apache.maven.doxia/doxia-module-confluence
/** {@inheritDoc} */
public void before( 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: org.apache.felix/maven-bundle-plugin
sink.figure_();
sink.text( " " );
sink.monospaced();
sink.text( packageName );
sink.monospaced_();
sink.italic_();
sink.text( " (newer version: " );
sink.monospaced();
sink.text( newerVersion.toString() );
sink.monospaced_();
sink.text( ", older version: " );
sink.monospaced();
sink.text( olderVersion.toString() );
if ( suggestedVersion != null )
sink.monospaced();
sink.text( suggestedVersion.toString() );
代码示例来源:origin: org.apache.maven.doxia/doxia-module-twiki
/** {@inheritDoc} */
final void before( final Sink sink )
{
sink.monospaced();
}
代码示例来源:origin: revapi/revapi
sink.monospaced();
sink.text(d.difference.code);
sink.monospaced_();
sink.monospaced();
sink.bold();
sink.text(element);
代码示例来源:origin: org.apache.maven.doxia/doxia-module-docbook-simple
sink.monospaced();
sink.monospaced();
sink.monospaced();
代码示例来源: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_();
}
代码示例来源:origin: org.apache.maven.plugins/maven-checkstyle-plugin
sink.rawText( "</span>" );
sink.nonBreakingSpace();
sink.monospaced();
sink.text( line );
sink.monospaced_();
sink.monospaced();
sink.text( "\"" );
if ( basedir != null )
sink.monospaced();
sink.text( "\"" );
sink.text( value );
内容来源于网络,如有侵权,请联系作者删除!