本文整理了Java中org.apache.maven.doxia.sink.Sink.numberedList()
方法的一些代码示例,展示了Sink.numberedList()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Sink.numberedList()
方法的具体详情如下:
包路径:org.apache.maven.doxia.sink.Sink
类名称:Sink
方法名:numberedList
暂无
代码示例来源:origin: org.apache.maven.doxia/doxia-module-confluence
/** {@inheritDoc} */
public void before( Sink sink )
{
sink.numberedList( Sink.NUMBERING_DECIMAL );
}
代码示例来源:origin: org.apache.maven.plugins/maven-project-info-reports-plugin
sink.numberedList( 0 ); // Use lower alpha numbering
List<ReverseDependencyLink> depList = artifactMap.get( version );
代码示例来源:origin: org.apache.maven.doxia/doxia-module-fml
sink.numberedList( Sink.NUMBERING_DECIMAL );
代码示例来源:origin: org.apache.maven.doxia/doxia-module-twiki
/** {@inheritDoc} */
final void before( final Sink sink )
{
sink.numberedList( type );
}
代码示例来源:origin: org.xwiki.rendering/xwiki-rendering-syntax-doxia
@Override
public void beginList(ListType type, Map<String, String> parameters)
{
if (type == ListType.BULLETED) {
this.sink.list();
} else {
// TODO: Handle other numerotations (Roman, etc)
this.sink.numberedList(Sink.NUMBERING_DECIMAL);
}
}
代码示例来源:origin: org.apache.maven.doxia/doxia-module-docbook-simple
private void handleOrderedListStart( Sink sink, SinkEventAttributeSet attribs )
{
//default enumeration style is decimal
int numeration = Sink.NUMBERING_DECIMAL;
final Object num = attribs.getAttribute( SimplifiedDocbookMarkup.NUMERATION_ATTRIBUTE );
if ( num != null )
{
numeration = DocbookUtils.doxiaListNumbering( num.toString() );
}
sink.numberedList( numeration, attribs );
parent.push( SimplifiedDocbookMarkup.ORDEREDLIST_TAG.toString() );
}
内容来源于网络,如有侵权,请联系作者删除!