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

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

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

Sink.italic介绍

暂无

代码示例

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

/** {@inheritDoc} */
public  void before(  Sink sink )
{
  sink.italic();
}

代码示例来源: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.jvnet.hudson.plugins/jdepend

if ( packageList.size() <= 0 )
  sink.italic();
  sink.text( bundle.getString( "report.none" ) ); //$NON-NLS-1$
  sink.italic_();

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

/** {@inheritDoc} */
final void before( final Sink sink )
{
  sink.italic();
}

代码示例来源:origin: org.jvnet.hudson.plugins/jdepend

sink.italic();
sink.text( bundle.getString( "report.none" ) ); //$NON-NLS-1$
sink.italic_();
sink.italic();
sink.text( bundle.getString( "report.none" ) ); //$NON-NLS-1$
sink.italic_();
sink.italic();
sink.text( bundle.getString( "report.none" ) ); //$NON-NLS-1$
sink.italic_();
sink.italic();
sink.text( bundle.getString( "report.none" ) ); //$NON-NLS-1$
sink.italic_();

代码示例来源:origin: mojohaus/versions-maven-plugin

protected void safeItalic()
{
  try
  {
    sink.italic();
  }
  catch ( NoSuchMethodError e )
  {
    // ignore Maven 2.1.0
  }
}

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

sink.figure_();
sink.text( " " );
sink.italic();
sink.text( diffMessage.getMessage() );
sink.italic_();

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

protected void safeItalic()
{
  try
  {
    sink.italic();
  }
  catch ( NoSuchMethodError e )
  {
    // ignore Maven 2.1.0
  }
}

代码示例来源:origin: mojohaus/license-maven-plugin

protected void safeItalic()
{
  try
  {
    sink.italic();
  }
  catch ( NoSuchMethodError e )
  {
    // ignore Maven 2.1.0
  }
}

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

@Override
public void beginFormat(Format format, Map<String, String> parameters)
{
  // TODO: Handle parameters
  switch (format) {
    case BOLD:
      this.sink.bold();
      break;
    case ITALIC:
      this.sink.italic();
      break;
    case STRIKEDOUT:
      // TODO: Implement when we move to Doxia 1.0 beta 1.
      // See http://jira.codehaus.org/browse/DOXIA-204
      break;
    case UNDERLINED:
      // TODO: Implement when we move to Doxia 1.0 beta 1.
      // See http://jira.codehaus.org/browse/DOXIA-204
      break;
    default:
      // Unhandled format, don't do anything.
  }
}

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

sink.italic();
sink.monospaced();
sink.italic();

相关文章