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

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

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

Sink.bold_介绍

暂无

代码示例

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

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

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

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

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

protected void safeBold_()
{
  // CHECKSTYLE_ON: MethodName
  try
  {
    sink.bold_();
  }
  catch ( NoSuchMethodError e )
  {
    // ignore Maven 2.1.0
  }
}

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

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

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

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

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

@Override
public void endFormat(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.plugins/maven-project-info-reports-plugin

private void printGroupedLicenses()
{
  for ( Map.Entry<String, Object> entry : licenseMap.entrySet() )
  {
    String licenseName = entry.getKey();
    if ( StringUtils.isEmpty( licenseName ) )
    {
      licenseName = getI18nString( "unnamed" );
    }
    sink.paragraph();
    sink.bold();
    sink.text( licenseName );
    sink.text( ": " );
    sink.bold_();
    @SuppressWarnings( "unchecked" )
    SortedSet<String> projects = (SortedSet<String>) entry.getValue();
    for ( Iterator<String> iterator = projects.iterator(); iterator.hasNext(); )
    {
      String projectName = iterator.next();
      sink.text( projectName );
      if ( iterator.hasNext() )
      {
        sink.text( ", " );
      }
    }
    sink.paragraph_();
  }
}

代码示例来源:origin: bsorrentino/maven-confluence-plugin

sink.bold();
  sink.text( artifactName );
  sink.bold_();
  sink.anchor_();
  sink.paragraph_();
sink.bold();
sink.text( id );
sink.bold_();
sink.anchor_();
sink.paragraph_();

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

sink.bold();
sink.text(element);
sink.bold_();
sink.monospaced_();

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

sink.bold_();
sink.bold_();
  sink.bold_();

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

sink.bold();
sink.text( bundleName );
sink.bold_();
sink.listItem_();
sink.bold();
sink.text( currentVersion );
sink.bold_();
sink.paragraph_();
sink.bold();
sink.text( comparisonVersion );
sink.bold_();
sink.paragraph_();
sink.bold();
sink.text( generationDate );
sink.bold_();
sink.paragraph_();

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

sink.bold();
sink.text( "GroupId" );
sink.bold_();
sink.tableCell_();
sink.bold();
sink.text( "ArtifactId" );
sink.bold_();
sink.tableCell_();
sink.bold();
sink.text( "Version" );
sink.bold_();
sink.tableCell_();
sink.bold();
sink.text( "Scope" );
sink.bold_();
sink.tableCell_();
sink.bold();
sink.text( "Classifier" );
sink.bold_();
sink.tableCell_();
sink.bold();
sink.text( "Type" );
sink.bold_();
sink.tableCell_();

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

sink.bold();
sink.text( getI18nString( locale, "soyc.report.warning" ) );
sink.bold_();
sink.paragraph_();
sink.bold_();
sink.paragraph_();

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

private void handleTitleEnd( Sink sink )
{
  if ( isParent( SimplifiedDocbookMarkup.TABLE_TAG.toString() )
      || isParent( SimplifiedDocbookMarkup.INFORMALTABLE_TAG.toString() ) )
  {
    sink.tableCaption_();
  }
  else if ( isParent( SimplifiedDocbookMarkup.SECTION_TAG.toString() ) )
  {
    sink.sectionTitle_( level );
  }
  else if ( isParent( SimplifiedDocbookMarkup.ARTICLE_TAG.toString() ) )
  {
    sink.title_();
  }
  else
  {
    sink.bold_();
  }
}

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

sink.bold();
sink.text( getI18nString( locale, "soyc.report.warning" ) );
sink.bold_();
sink.paragraph_();
sink.bold_();
sink.paragraph_();

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

sink.bold();
  sink.text( getI18nString( "column.description" ) + ": " );
  sink.bold_();
  if ( StringUtils.isNotEmpty( artifactDescription ) )
    sink.bold();
    sink.text( getI18nString( "column.url" ) + ": " );
    sink.bold_();
    if ( ProjectInfoReportUtils.isArtifactUrlValid( artifactUrl ) )
  sink.bold();
  sink.text( getI18nString( "licenses", "title" ) + ": " );
  sink.bold_();
  if ( !licenses.isEmpty() )
sink.bold();
sink.text( getI18nString( "column.description" ) + ": " );
sink.bold_();
sink.text( getI18nString( "index", "nodescription" ) );
sink.paragraph_();
  sink.bold();
  sink.text( getI18nString( "column.url" ) + ": " );
  sink.bold_();
  sink.text( artifact.getFile().getAbsolutePath() );
  sink.paragraph_();

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

/**
 * Generate the legend table
 *
 * @param locale
 * @param sink
 */
private void generateLegend( Locale locale, Sink sink )
{
  sink.table();
  sink.tableCaption();
  sink.bold();
  sink.text( getI18nString( locale, "legend" ) );
  sink.bold_();
  sink.tableCaption_();
  sink.tableRow();
  sink.tableCell();
  iconError( locale, sink );
  sink.tableCell_();
  sink.tableCell();
  sink.text( getI18nString( locale, "legend.different" ) );
  sink.tableCell_();
  sink.tableRow_();
  sink.table_();
}

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

sink.bold();
xdocParser.parse( part.getTitle(), sink );
sink.bold_();
sink.paragraph_();

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

sink.bold();
sink.text( getI18nString( locale, "stats.caption" ) );
sink.bold_();
sink.tableCaption_();
sink.bold();
sink.text( String.valueOf( convergence ) + " %" );
sink.bold_();
sink.tableCell_();
sink.tableRow_();
  sink.bold();
  sink.text( getI18nString( locale, "stats.readyrelease.success" ) );
  sink.bold_();
  sink.bold();
  sink.text( getI18nString( locale, "stats.readyrelease.error" ) );
  sink.bold_();
  if ( convergence < FULL_CONVERGENCE )

相关文章