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

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

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

Sink.nonBreakingSpace介绍

暂无

代码示例

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

void fillIndent( boolean last )
  {
    if ( last )
    {
      sink.nonBreakingSpace();
      sink.nonBreakingSpace();
      sink.nonBreakingSpace();
    }
    else
    {
      sink.text( "|" );
      sink.nonBreakingSpace();
      sink.nonBreakingSpace();
    }
  }
}

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

void addNodeIndent( boolean last )
{
  if ( last )
  {
    sink.text( "\\-" );
    sink.nonBreakingSpace();
  }
  else
  {
    sink.text( "+-" );
    sink.nonBreakingSpace();
  }
}

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

/**
 * Render an icon of given level with associated text.
 * @param level one of <code>INFO</code>, <code>WARNING</code> or <code>ERROR</code> constants
 * @param textType one of <code>NO_TEXT</code>, <code>TEXT_SIMPLE</code>, <code>TEXT_TITLE</code> or
 * <code>TEXT_ABBREV</code> constants
 */
public void iconSeverity( String level, int textType )
{
  sink.figure();
  sink.figureGraphics( "images/icon_" + level + "_sml.gif" );
  sink.figure_();
  if ( textType > 0 )
  {
    sink.nonBreakingSpace();
    sink.text( bundle.getString( "report.checkstyle." + level + suffix( textType ) ) );
  }
}

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

sink.text( linenum + ":" );
sink.rawText( "</span>" );
sink.nonBreakingSpace();
sink.monospaced();
sink.text( line );

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

sink.nonBreakingSpace();
sink.link( "checkstyle.rss" );
sink.figure();

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

sink.nonBreakingSpace();
sink.bold();
sink.text( String.valueOf( convergence ) + " %" );
  sink.nonBreakingSpace();
  sink.bold();
  sink.text( getI18nString( locale, "stats.readyrelease.success" ) );
  sink.nonBreakingSpace();
  sink.bold();
  sink.text( getI18nString( locale, "stats.readyrelease.error" ) );

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

sink.nonBreakingSpace();
sink.text( getText( "report.otherUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.incrementalUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.minorUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.majorUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.noUpdatesAvailable" ) );
    sink.nonBreakingSpace();
    safeItalic();
    if ( equals( versions[i],

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

sink.nonBreakingSpace();
sink.text( getText( "report.otherUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.incrementalUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.minorUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.majorUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.noUpdatesAvailable" ) );
    sink.nonBreakingSpace();
    safeItalic();
    if ( equals( versions[i],

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

sink.nonBreakingSpace();
sink.text( getText( "report.otherUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.incrementalUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.minorUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.majorUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.noUpdatesAvailable" ) );
    sink.nonBreakingSpace();
    safeItalic();
    if ( equals( versions[i], details.getOldestUpdate( UpdateScope.SUBINCREMENTAL ) ) )

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

sink.nonBreakingSpace();
sink.text( getText( "report.otherUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.incrementalUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.minorUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.majorUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.noUpdatesAvailable" ) );
    sink.nonBreakingSpace();
    safeItalic();
    if ( equals( versions[i], details.getOldestUpdate( UpdateScope.SUBINCREMENTAL ) ) )

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

sink.nonBreakingSpace();
sink.text( getText( "report.status.licenseFromPom" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.status.licenseFromThirdParty" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.status.noLicense" ) );

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

sink.nonBreakingSpace();
sink.text( getText( "report.otherUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.incrementalUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.minorUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.majorUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.noUpdatesAvailable" ) );
    sink.nonBreakingSpace();
    safeItalic();
    if ( equals( artifactVersions[i], versions.getOldestUpdate( UpdateScope.SUBINCREMENTAL ) ) )

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

sink.nonBreakingSpace();
sink.text( getText( "report.otherUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.incrementalUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.minorUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.majorUpdatesAvailable" ) );
sink.nonBreakingSpace();
sink.text( getText( "report.noUpdatesAvailable" ) );
    sink.nonBreakingSpace();
    safeItalic();
    if ( equals( artifactVersions[i], versions.getOldestUpdate( UpdateScope.SUBINCREMENTAL ) ) )

相关文章