本文整理了Java中org.apache.maven.doxia.sink.Sink.bold()
方法的一些代码示例,展示了Sink.bold()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Sink.bold()
方法的具体详情如下:
包路径:org.apache.maven.doxia.sink.Sink
类名称:Sink
方法名:bold
暂无
代码示例来源: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.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: org.apache.maven.plugins/maven-dependency-plugin
sink.bold();
sink.text( "GroupId" );
sink.bold_();
sink.bold();
sink.text( "ArtifactId" );
sink.bold_();
sink.bold();
sink.text( "Version" );
sink.bold_();
sink.bold();
sink.text( "Scope" );
sink.bold_();
sink.bold();
sink.text( "Classifier" );
sink.bold_();
sink.bold();
sink.text( "Type" );
sink.bold_();
sink.bold();
sink.text( "Optional" );
sink.bold_();
代码示例来源:origin: org.apache.maven.doxia/doxia-module-twiki
/** {@inheritDoc} */
final void before( final Sink sink )
{
sink.bold();
}
代码示例来源:origin: org.apache.felix/maven-bundle-plugin
sink.figure_();
sink.text( " " );
sink.bold();
sink.text( bundleName );
sink.bold_();
sink.bold();
sink.text( currentVersion );
sink.bold_();
sink.bold();
sink.text( comparisonVersion );
sink.bold_();
sink.bold();
sink.text( generationDate );
sink.bold_();
代码示例来源:origin: mojohaus/license-maven-plugin
protected void safeBold()
{
try
{
sink.bold();
}
catch ( NoSuchMethodError e )
{
// ignore Maven 2.1.0
}
}
代码示例来源:origin: bsorrentino/maven-confluence-plugin
sink.bold();
sink.text( artifactName );
sink.bold_();
sink.bold();
sink.text( id );
sink.bold_();
代码示例来源:origin: org.apache.maven.doxia/doxia-module-confluence
/** {@inheritDoc} */
public void before( Sink sink )
{
sink.bold();
}
代码示例来源:origin: gwt-maven-plugin/gwt-maven-plugin
sink.bold();
sink.text( getI18nString( locale, "soyc.report.warning" ) );
sink.bold_();
sink.bold();
if ( compilerReport )
代码示例来源:origin: mojohaus/versions-maven-plugin
protected void safeBold()
{
try
{
sink.bold();
}
catch ( NoSuchMethodError e )
{
// ignore Maven 2.1.0
}
}
代码示例来源:origin: org.codehaus.mojo/gwt-maven-plugin
sink.bold();
sink.text( getI18nString( locale, "soyc.report.warning" ) );
sink.bold_();
sink.bold();
if ( compilerReport )
代码示例来源: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: revapi/revapi
sink.bold();
sink.text(element);
sink.bold_();
代码示例来源:origin: org.apache.maven.doxia/doxia-module-docbook-simple
sink.bold();
sink.monospaced();
sink.bold();
sink.bold();
isBold = true;
代码示例来源: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-docbook-simple
private void handleTitleStart( Sink sink, SinkEventAttributeSet attribs )
{
if ( isParent( SimplifiedDocbookMarkup.TABLE_TAG.toString() )
|| isParent( SimplifiedDocbookMarkup.INFORMALTABLE_TAG.toString() ) )
{
sink.tableCaption( attribs );
}
else if ( isParent( SimplifiedDocbookMarkup.ARTICLE_TAG.toString() ) )
{
sink.title( attribs );
}
else if ( isParent( SimplifiedDocbookMarkup.SECTION_TAG.toString() ) )
{
sink.sectionTitle( level, attribs );
}
else
{
sink.bold();
}
}
代码示例来源:origin: org.apache.maven.plugins/maven-project-info-reports-plugin
sink.bold();
sink.text( getI18nString( "column.description" ) + ": " );
sink.bold_();
sink.bold();
sink.text( getI18nString( "column.url" ) + ": " );
sink.bold_();
sink.bold();
sink.text( getI18nString( "licenses", "title" ) + ": " );
sink.bold_();
sink.bold();
sink.text( getI18nString( "column.description" ) + ": " );
sink.bold_();
sink.bold();
sink.text( getI18nString( "column.url" ) + ": " );
sink.bold_();
代码示例来源:origin: org.apache.maven.plugins/maven-project-info-reports-plugin
sink.bold();
sink.text( getI18nString( locale, "stats.caption" ) );
sink.bold_();
sink.bold();
sink.text( String.valueOf( convergence ) + " %" );
sink.bold_();
sink.bold();
sink.text( getI18nString( locale, "stats.readyrelease.success" ) );
sink.bold_();
sink.bold();
sink.text( getI18nString( locale, "stats.readyrelease.error" ) );
sink.bold_();
代码示例来源:origin: org.apache.maven.doxia/doxia-module-fml
sink.bold();
xdocParser.parse( part.getTitle(), sink );
sink.bold_();
内容来源于网络,如有侵权,请联系作者删除!