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

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

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

Sink.listItem介绍

暂无

代码示例

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

/** {@inheritDoc} */
final void before( final Sink sink )
{
  sink.listItem();
}

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

private void printDependencyListing( ReportingResolutionListener.Node node, boolean printRoot )
{
  Artifact artifact = node.getArtifact();
  String id = artifact.getDependencyConflictId();
  sink.listItem();
  sink.paragraph();
  if( printRoot ) {
    sink.link( "#" + id );
    sink.text( id );
    sink.link_();
  }
  if ( !node.getChildren().isEmpty() )
  {
    sink.list();
    for ( Iterator deps = node.getChildren().iterator(); deps.hasNext(); )
    {
      ReportingResolutionListener.Node dep = (ReportingResolutionListener.Node) deps.next();
      printDependencyListing( dep, true );
    }
    sink.list_();
  }
  sink.paragraph_();
  sink.listItem_();
}

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

private static void extractItems( List<MenuItem> items, Sink sink )
{
  if ( items == null || items.isEmpty() )
  {
    return;
  }
  sink.list();
  for ( MenuItem item : items )
  {
    sink.listItem();
    sink.link( relativePath( item.getHref() ) );
    sink.text( item.getName() );
    sink.link_();
    extractItems( item.getItems(), sink );
    sink.listItem_();
  }
  sink.list_();
}

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

@Override
public void beginListItem()
{
  this.sink.listItem();
}

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

String imgId = "_img" + idCounter++;
sink.listItem();

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

/** {@inheritDoc} */
public  void before( Sink sink )
{
  sink.listItem();
}

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

sink.listItem();
link( "#" + HtmlTools.encodeId( name ), name );
sink.listItem_();

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

private void handleListItemStart( Sink sink, SinkEventAttributeSet attribs )
{
  if ( isParent( SimplifiedDocbookMarkup.VARIABLELIST_TAG.toString() ) )
  {
    sink.definition( attribs );
  }
  else if ( isParent( SimplifiedDocbookMarkup.ORDEREDLIST_TAG.toString() ) )
  {
    sink.numberedListItem( attribs );
  }
  else
  {
    sink.listItem( attribs );
  }
  parent.push( SimplifiedDocbookMarkup.LISTITEM_TAG.toString() );
}

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

for ( String name : attribnames )
  sink.listItem();

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

@Override
protected void startDiff( final Object context,
             int depth,
             String type,
             String name,
             String delta,
             String shortDelta )
{
  final Context ctx = (Context)context;
  final Sink sink = ctx.sink;
  if ( ctx.currentDepth < depth )
  {
    sink.list();
  }
  ctx.currentDepth = depth;
  sink.listItem();
  sink.figure();
  sink.figureGraphics( "images/baseline/" + type + ".gif" );
  sink.figure_();
  sink.text( " " );
  sink.monospaced();
  sink.text( name );
  sink.monospaced_();
  sink.text( " " );
  sink.italic();
  sink.text( delta );
  sink.italic_();
}

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

for ( GwtModule gwtModule : this.gwtModules )
  sink.listItem();
  if ( StringUtils.isNotBlank( compilerReportsPath ) )

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

sink.listItem();

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

for ( GwtModule gwtModule : this.gwtModules )
  sink.listItem();
  if ( StringUtils.isNotBlank( compilerReportsPath ) )

代码示例来源:origin: net.sf.oqt/oqt-maven-plugin

for (final EntityVO e : packge.getEntities()) {
  aggregatedEntities.add(e);
  sink.listItem();
  sink.text(e.getName());
  sink.listItem_();
for (final QueryVO query : entity.getQueries()) {
  aggregatedQueries.add(query);
  sink.listItem();
  sink.text(query.getName());
  sink.listItem_();
  sink.list();
  for (final String sql : query.getSQLQuery()) {
    sink.listItem();
    sink.text(sql);
    sink.listItem_();

相关文章