本文整理了Java中org.apache.maven.doxia.sink.Sink.figureCaption_()
方法的一些代码示例,展示了Sink.figureCaption_()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Sink.figureCaption_()
方法的具体详情如下:
包路径:org.apache.maven.doxia.sink.Sink
类名称:Sink
方法名:figureCaption_
暂无
代码示例来源:origin: org.apache.maven.doxia/doxia-module-confluence
/** {@inheritDoc} */
public void traverse( Sink sink )
{
sink.figure();
sink.figureGraphics( location );
if ( caption != null && caption.length() > 0 )
{
sink.figureCaption();
new TextBlock( caption ).traverse( sink );
sink.figureCaption_();
}
sink.figure_();
}
}
代码示例来源:origin: org.apache.maven.doxia/doxia-module-docbook-simple
private void handleCaptionEnd( Sink sink )
{
parent.pop();
if ( isParent( SimplifiedDocbookMarkup.MEDIAOBJECT_TAG.toString() ) )
{
sink.figureCaption_();
}
else if ( isParent( SimplifiedDocbookMarkup.INFORMALTABLE_TAG.toString() )
|| isParent( SimplifiedDocbookMarkup.TABLE_TAG.toString() ) )
{
sink.tableCaption_();
}
}
代码示例来源:origin: de.smartics.testdoc/maven-testdoc-report-plugin
protected void renderJUnitStatusLink(final ResultType resultType,
final String link)
{
if (link != null)
{
sink.rawText("<div style='text-align:center;'>");
sink.figure();
sink.figureGraphics(link);
sink.figureCaption();
sink.text(String.valueOf(resultType));
sink.figureCaption_();
sink.figure_();
sink.rawText("</div>");
}
else
{
sink.text(String.valueOf(resultType));
}
}
代码示例来源:origin: de.smartics.testdoc/testdoc-maven-report-plugin
protected void renderJUnitStatusLink(final ResultType resultType,
final String link)
{
if (link != null)
{
sink.rawText("<div style='text-align:center;'>");
sink.figure();
sink.figureGraphics(link);
sink.figureCaption();
sink.text(String.valueOf(resultType));
sink.figureCaption_();
sink.figure_();
sink.rawText("</div>");
}
else
{
sink.text(String.valueOf(resultType));
}
}
代码示例来源:origin: org.apache.maven.plugins/maven-project-info-reports-plugin
private void iconError( Locale locale, Sink sink )
{
sink.figure();
sink.figureCaption();
sink.text( getI18nString( locale, "icon.error" ) );
sink.figureCaption_();
sink.figureGraphics( IMG_ERROR_URL );
sink.figure_();
}
代码示例来源:origin: org.apache.maven.plugins/maven-project-info-reports-plugin
private void iconSuccess( Locale locale, Sink sink )
{
sink.figure();
sink.figureCaption();
sink.text( getI18nString( locale, "icon.success" ) );
sink.figureCaption_();
sink.figureGraphics( IMG_SUCCESS_URL );
sink.figure_();
}
代码示例来源:origin: org.apache.maven.plugins/maven-checkstyle-plugin
sink.figureCaption();
sink.text( "rss feed" );
sink.figureCaption_();
sink.figureGraphics( "images/rss.png" );
sink.figure_();
内容来源于网络,如有侵权,请联系作者删除!